Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 50 Query succeeded, using this AST as a start Fuzzing step 1 out of 50 CREATE TABLE t__fuzz_0 ( `a` Int16 ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 2 out of 50 CREATE TABLE t__fuzz_1 ( `a` Int16 ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 3 out of 50 CREATE TABLE t__fuzz_2 ( `a` Int16 ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 4 out of 50 CREATE TABLE t__fuzz_3 ( `a` Int16 ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 5 out of 50 CREATE TABLE t__fuzz_4 ( `a` Int16 ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 6 out of 50 CREATE TABLE t__fuzz_5 ( `a` Array(Int16) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 7 out of 50 CREATE TABLE t__fuzz_6 ( `a` Array(Int16) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 8 out of 50 CREATE TABLE t__fuzz_7 ( `a` Array(Array(Int16)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 9 out of 50 CREATE TABLE t__fuzz_8 ( `a` Array(Array(Int16)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 10 out of 50 CREATE TABLE t__fuzz_9 ( `a` Array(Array(Int16)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 11 out of 50 CREATE TABLE t__fuzz_10 ( `a` UInt64 ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 12 out of 50 CREATE TABLE t__fuzz_11 ( `a` Array(String) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 13 out of 50 CREATE TABLE t__fuzz_12 ( `a` Array(LowCardinality(String)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 14 out of 50 CREATE TABLE t__fuzz_13 ( `a` Array(LowCardinality(String)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 15 out of 50 CREATE TABLE t__fuzz_14 ( `a` Array(Int8) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 16 out of 50 CREATE TABLE t__fuzz_15 ( `a` Array(Int8) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 17 out of 50 CREATE TABLE t__fuzz_16 ( `a` Array(Array(Int8)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 18 out of 50 CREATE TABLE t__fuzz_17 ( `a` Array(Array(Int8)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 19 out of 50 CREATE TABLE t__fuzz_18 ( `a` Array(Array(Int8)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 20 out of 50 CREATE TABLE t__fuzz_19 ( `a` Array(Array(Int8)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 21 out of 50 CREATE TABLE t__fuzz_20 ( `a` Array(Array(Int8)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 22 out of 50 CREATE TABLE t__fuzz_21 ( `a` Array(Array(Int8)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 23 out of 50 CREATE TABLE t__fuzz_22 ( `a` Array(Array(Int8)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 24 out of 50 CREATE TABLE t__fuzz_23 ( `a` Array(Array(Array(Int8))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 25 out of 50 CREATE TABLE t__fuzz_24 ( `a` Array(Array(Array(LowCardinality(Int8)))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 26 out of 50 CREATE TABLE t__fuzz_25 ( `a` Array(Array(Array(Int8))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 27 out of 50 CREATE TABLE t__fuzz_26 ( `a` Array(Array(Array(Int8))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 28 out of 50 CREATE TABLE t__fuzz_27 ( `a` Array(Array(Array(UInt256))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 29 out of 50 CREATE TABLE t__fuzz_28 ( `a` Array(Array(Array(UInt256))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 30 out of 50 CREATE TABLE t__fuzz_29 ( `a` Array(Array(Array(UInt256))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 31 out of 50 CREATE TABLE t__fuzz_30 ( `a` Array(Array(Array(UInt256))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 32 out of 50 CREATE TABLE t__fuzz_31 ( `a` Array(Array(UUID)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 33 out of 50 CREATE TABLE t__fuzz_32 ( `a` Array(Array(UUID)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 34 out of 50 CREATE TABLE t__fuzz_33 ( `a` Array(Array(UUID)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 35 out of 50 CREATE TABLE t__fuzz_34 ( `a` Array(Array(Nullable(UUID))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 36 out of 50 CREATE TABLE t__fuzz_35 ( `a` Array(Array(UUID)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 37 out of 50 CREATE TABLE t__fuzz_36 ( `a` Array(Array(UUID)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 38 out of 50 CREATE TABLE t__fuzz_37 ( `a` Array(Decimal(76, 44)) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 39 out of 50 CREATE TABLE t__fuzz_38 ( `a` Array(Array(Decimal(76, 44))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 40 out of 50 CREATE TABLE t__fuzz_39 ( `a` Array(Array(Decimal(76, 44))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 41 out of 50 CREATE TABLE t__fuzz_40 ( `a` Array(Array(Decimal(76, 44))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 42 out of 50 CREATE TABLE t__fuzz_41 ( `a` Array(Array(Nullable(Decimal(76, 44)))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 43 out of 50 CREATE TABLE t__fuzz_42 ( `a` Array(Array(Nullable(Decimal(76, 44)))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 44 out of 50 CREATE TABLE t__fuzz_43 ( `a` Array(Array(Nullable(Decimal(76, 44)))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 45 out of 50 CREATE TABLE t__fuzz_44 ( `a` Array(Array(Nullable(Decimal(76, 44)))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 46 out of 50 CREATE TABLE t__fuzz_45 ( `a` Array(Array(Decimal(76, 44))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 47 out of 50 CREATE TABLE t__fuzz_46 ( `a` Array(Array(Decimal(76, 44))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 48 out of 50 CREATE TABLE t__fuzz_47 ( `a` Array(Array(Array(Decimal(76, 44)))) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 49 out of 50 CREATE TABLE t__fuzz_48 ( `a` Array(UUID) ) ENGINE = Memory Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 2 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 3 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 4 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 5 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 6 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 7 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 8 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 9 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 10 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 12 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 13 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 14 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 15 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 16 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 17 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 18 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 21 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 22 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 23 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 24 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 26 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 27 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 30 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 31 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 32 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 33 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 34 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 35 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 36 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 37 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 38 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 39 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 40 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 41 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 42 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 43 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_32 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_32 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT * FROM t_v PREWHERE t__fuzz_32. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 44 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 45 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 46 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_40 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_40 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_40' in scope SELECT * FROM t_v PREWHERE t__fuzz_40. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 47 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 48 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 51 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 52 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 53 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 54 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 55 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 58 out of 1000 SELECT t__fuzz_26, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Fuzzing step 59 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 60 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 61 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 63 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 64 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 65 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 66 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 67 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 68 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 69 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 71 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_10, t__fuzz_25, t FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_10, t__fuzz_25, t FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_10' in scope SELECT * FROM t_v GROUP BY t__fuzz_10, t__fuzz_25, t. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 73 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 77 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 78 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 79 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 80 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 81 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 82 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 83 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 85 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 88 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 89 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 90 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 91 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 92 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_29 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_29 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT * FROM t_v PREWHERE t__fuzz_29. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 93 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 94 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 95 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 96 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 97 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 98 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 100 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 102 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 103 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 104 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 105 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_33 FORMAT JSON SETTINGS extremes = 1 Fuzzing step 106 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 107 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 108 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 109 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_9 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_9 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_9' in scope SELECT * FROM t_v PREWHERE t__fuzz_9. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 110 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 111 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 112 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 113 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 114 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 115 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 116 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 117 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_2, Memory, t__fuzz_15 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_2, Memory, t__fuzz_15 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT * FROM t_v GROUP BY t__fuzz_2, Memory, t__fuzz_15. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 118 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 119 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 120 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 124 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 126 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 127 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 128 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 129 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 130 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 131 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 132 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 133 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_15 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_15 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT * FROM t_v PREWHERE t__fuzz_15. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 134 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 135 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 136 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 137 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 138 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 139 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 140 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 141 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 142 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 143 out of 1000 SELECT * FROM t_v WHERE t__fuzz_45 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_45 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT * FROM t_v WHERE t__fuzz_45. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 144 out of 1000 SELECT * FROM t_v GROUP BY 44, Memory FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY 44, Memory FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Positional argument number 44 is out of bounds. Expected in range [1, 1]. In scope SELECT * FROM t_v GROUP BY 44, Memory. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 145 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 146 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 147 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 148 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 149 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 150 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 151 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 152 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 153 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 154 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 155 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 156 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 157 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 158 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 159 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 160 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 161 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 162 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 163 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_3, t__fuzz_0 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_3, t__fuzz_0 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_3' in scope SELECT * FROM t_v GROUP BY t__fuzz_3, t__fuzz_0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 164 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 165 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 166 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_24, t__fuzz_37, t__fuzz_3, t__fuzz_16, t__fuzz_36 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_24, t__fuzz_37, t__fuzz_3, t__fuzz_16, t__fuzz_36 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_24' in scope SELECT * FROM t_v GROUP BY t__fuzz_24, t__fuzz_37, t__fuzz_3, t__fuzz_16, t__fuzz_36. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 167 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 168 out of 1000 SELECT * FROM t_v WHERE t__fuzz_9 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_9 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_9' in scope SELECT * FROM t_v WHERE t__fuzz_9. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 169 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 170 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 171 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 172 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 173 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 174 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 175 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 176 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 177 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 178 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 179 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 180 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 181 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_45, 44 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_45, 44 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Positional argument number 44 is out of bounds. Expected in range [1, 1]. In scope SELECT * FROM t_v GROUP BY t__fuzz_45, 44. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 182 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 183 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 184 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 185 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 187 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 188 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 190 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 191 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 192 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 193 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 195 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 196 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 198 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 199 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 200 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 201 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 202 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 203 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_39 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_39 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_39' in scope SELECT * FROM t_v PREWHERE t__fuzz_39. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 204 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 205 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 206 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 207 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 208 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 209 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 210 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 211 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 212 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 213 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 214 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 215 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 216 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_38 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_38 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_38' in scope SELECT * FROM t_v PREWHERE t__fuzz_38. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 217 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 218 out of 1000 SELECT t__fuzz_28, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Fuzzing step 219 out of 1000 SELECT t__fuzz_15, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT t__fuzz_15, * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT t__fuzz_15, * FROM t_v. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 220 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 221 out of 1000 SELECT * FROM t_v GROUP BY JSON, t__fuzz_14, t__fuzz_28, t__fuzz_2 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY JSON, t__fuzz_14, t__fuzz_28, t__fuzz_2 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT * FROM t_v GROUP BY JSON, t__fuzz_14, t__fuzz_28, t__fuzz_2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 222 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 223 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 224 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_9, t__fuzz_30, t__fuzz_24 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_9, t__fuzz_30, t__fuzz_24 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_9' in scope SELECT * FROM t_v GROUP BY t__fuzz_9, t__fuzz_30, t__fuzz_24. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 225 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 226 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 227 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 228 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 229 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 230 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 231 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 232 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_12, t__fuzz_14, t__fuzz_34 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_12, t__fuzz_14, t__fuzz_34 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT * FROM t_v GROUP BY t__fuzz_12, t__fuzz_14, t__fuzz_34. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 233 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 234 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 235 out of 1000 SELECT * FROM t_v WHERE t__fuzz_25 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_25 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT * FROM t_v WHERE t__fuzz_25. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 236 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 237 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 238 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 239 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 240 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 241 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 242 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 243 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 244 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 245 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 246 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 247 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 248 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 249 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 250 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 251 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 252 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 253 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 254 out of 1000 SELECT * FROM t_v WHERE t__fuzz_25 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_25 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT * FROM t_v WHERE t__fuzz_25. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 255 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 256 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 257 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 258 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 259 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 260 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 261 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 262 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 263 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 264 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 265 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 266 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 267 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 268 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 270 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 271 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 272 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 273 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 274 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 276 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 277 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 279 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 281 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 282 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 284 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 285 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 286 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 287 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 288 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_36, t__fuzz_43, t__fuzz_33 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_36, t__fuzz_43, t__fuzz_33 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT * FROM t_v GROUP BY t__fuzz_36, t__fuzz_43, t__fuzz_33. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 290 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 291 out of 1000 SELECT * FROM t_v WHERE t__fuzz_16 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_16 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_16' in scope SELECT * FROM t_v WHERE t__fuzz_16. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 292 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 293 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 294 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_46, t__fuzz_38, t__fuzz_6, t__fuzz_29 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_46, t__fuzz_38, t__fuzz_6, t__fuzz_29 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT * FROM t_v GROUP BY t__fuzz_46, t__fuzz_38, t__fuzz_6, t__fuzz_29. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 295 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 296 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 297 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v WHERE t__fuzz_2 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN PIPELINE SELECT * FROM t_v WHERE t__fuzz_2 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT * FROM t_v WHERE t__fuzz_2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 298 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 299 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 300 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 302 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 303 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 304 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 305 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 SELECT * FROM t_v WHERE t__fuzz_36 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_36 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT * FROM t_v WHERE t__fuzz_36. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 307 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 308 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 309 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 310 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 311 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 312 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 313 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 314 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 315 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 316 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 317 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 318 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 319 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 320 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 321 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 322 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 323 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_32 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_32 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT * FROM t_v PREWHERE t__fuzz_32. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 324 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 325 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 326 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 327 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 328 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 329 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 330 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 331 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 332 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 333 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 334 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 335 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 336 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 337 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 338 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 339 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 340 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 341 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 342 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 343 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 344 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 345 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 346 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 347 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 348 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 349 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 350 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 351 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 352 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 353 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 354 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 355 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 356 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 357 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 358 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 359 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 360 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 361 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 363 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 365 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 366 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 370 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 372 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 373 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 375 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 376 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 377 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 378 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 381 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 382 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 384 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 386 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 387 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 388 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 389 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 391 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 392 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 393 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 395 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 396 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 398 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 400 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 401 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 402 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 403 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 404 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 406 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 408 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 411 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 412 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 413 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 415 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 416 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 417 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 418 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 419 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 420 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 422 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 423 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 424 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 425 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 427 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 428 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 432 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 433 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 434 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 435 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 438 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 439 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 440 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 441 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 442 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 445 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 447 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 448 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 449 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 451 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 453 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 456 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 459 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 460 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 462 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 464 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 465 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 466 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 467 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 468 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 469 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 470 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 471 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 472 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 473 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 474 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 475 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 476 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 477 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_13, t__fuzz_13, t__fuzz_15 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_13, t__fuzz_13, t__fuzz_15 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT * FROM t_v GROUP BY t__fuzz_13, t__fuzz_13, t__fuzz_15. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 478 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 479 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 480 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 481 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 482 out of 1000 SELECT * FROM t_v WHERE t__fuzz_41 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_41 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT * FROM t_v WHERE t__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 483 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 484 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 485 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 486 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 487 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 488 out of 1000 SELECT * FROM t_v WHERE t__fuzz_32 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_32 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT * FROM t_v WHERE t__fuzz_32. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 489 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 490 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 491 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 492 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 493 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 494 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 497 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 500 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 502 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 503 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 504 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 505 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 506 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 509 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 510 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 511 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 512 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 513 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 514 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 515 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 517 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 SELECT t__fuzz_47, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT t__fuzz_47, * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT t__fuzz_47, * FROM t_v. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 520 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 521 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 522 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 523 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 524 out of 1000 SELECT t__fuzz_44, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT t__fuzz_44, * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT t__fuzz_44, * FROM t_v. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 525 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 526 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 527 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 529 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 530 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 531 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 533 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 535 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 536 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 537 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 538 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 539 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 540 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 541 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 542 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 543 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 544 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 545 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 546 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_23 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_23 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_23' in scope SELECT * FROM t_v GROUP BY t__fuzz_23. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 547 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 548 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 549 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 550 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 551 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 552 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 553 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 554 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 555 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 556 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 557 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 558 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 559 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 560 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 561 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 562 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 563 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 564 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 565 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 566 out of 1000 EXPLAIN `header, description` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN `header, description` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown setting "header, description" for EXPLAIN PLAN query. Supported settings: sorting, optimize, indexes, json, actions, description, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [5], String&&) @ 0x000000001158a80b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x00000000115860e2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 567 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 568 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 569 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 570 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 571 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 573 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 574 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 575 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 576 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 577 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 579 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 SELECT t__fuzz_29, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT t__fuzz_29, * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT t__fuzz_29, * FROM t_v. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 582 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 584 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 585 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 586 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 588 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 589 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 590 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 592 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 594 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 596 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 598 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 599 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 600 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 601 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 603 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 604 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 605 out of 1000 SELECT * FROM t_v WHERE t__fuzz_39 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_39 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_39' in scope SELECT * FROM t_v WHERE t__fuzz_39. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 606 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 607 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 608 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 609 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 610 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 611 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 614 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 619 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 621 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 623 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 625 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 626 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 627 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 628 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 629 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 631 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 632 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 633 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 634 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 638 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 639 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 643 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 644 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 645 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 646 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 647 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 648 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 649 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 650 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 652 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 653 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 654 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 657 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 658 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 660 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 661 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 662 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 663 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 664 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 665 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 668 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 671 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 674 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 675 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 676 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 677 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 678 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 679 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 680 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 681 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 682 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 683 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 684 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 685 out of 1000 EXPLAIN PIPELINE header = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN PIPELINE header = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 686 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 687 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 688 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 689 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 690 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 691 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 692 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 693 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 694 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 695 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 696 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 697 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 698 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 701 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 703 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 704 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 705 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 707 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 708 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 710 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 711 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 712 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 713 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_22, t__fuzz_17, t__fuzz_29 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_22, t__fuzz_17, t__fuzz_29 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT * FROM t_v GROUP BY t__fuzz_22, t__fuzz_17, t__fuzz_29. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 714 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 715 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 716 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 717 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 718 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 719 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 720 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 721 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 722 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 723 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 724 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 725 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 726 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 727 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 728 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 729 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 730 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_20 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_20 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_20' in scope SELECT * FROM t_v GROUP BY t__fuzz_20. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 731 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 732 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 733 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 734 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 735 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 736 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 737 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 738 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 739 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 740 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 741 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 742 out of 1000 SELECT t__fuzz_15, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT t__fuzz_15, * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT t__fuzz_15, * FROM t_v. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 743 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 744 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 745 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 746 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 747 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 748 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 749 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 750 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 751 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 752 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 753 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 754 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 755 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 758 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 763 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 764 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 766 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 768 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 769 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 770 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 771 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 772 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 773 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 774 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 775 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 776 out of 1000 SELECT t__fuzz_4, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT t__fuzz_4, * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_4' in scope SELECT t__fuzz_4, * FROM t_v. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 777 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 778 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 779 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 780 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 781 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 782 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 783 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 784 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 785 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 786 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 787 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 788 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 789 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 790 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 791 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 792 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 793 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 794 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 795 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 796 out of 1000 SELECT t__fuzz_37, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT t__fuzz_37, * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT t__fuzz_37, * FROM t_v. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 797 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 798 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 799 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 800 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 801 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 802 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 803 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 804 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 805 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 806 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 807 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 808 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 809 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 810 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 811 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 812 out of 1000 SELECT * FROM t_v WHERE t__fuzz_42 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_42 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_42' in scope SELECT * FROM t_v WHERE t__fuzz_42. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 813 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 814 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 815 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 819 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 820 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 821 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 823 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 825 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 827 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 828 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 829 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 830 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 832 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 834 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 835 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 836 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 837 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 838 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 839 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 840 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 841 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 843 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 845 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 846 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 847 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 848 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 849 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 850 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 851 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 852 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 853 out of 1000 SELECT t__fuzz_6, * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT t__fuzz_6, * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_6' in scope SELECT t__fuzz_6, * FROM t_v. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 854 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 855 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 857 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 858 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 860 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 861 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 862 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 864 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 865 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 867 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 868 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 869 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 870 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 871 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 873 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 874 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 875 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 876 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 877 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 878 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 879 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 880 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 881 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 882 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 883 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 884 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 885 out of 1000 EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 886 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 888 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 889 out of 1000 EXPLAIN SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 890 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 892 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 893 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 895 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 896 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 897 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 898 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 899 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 900 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 EXPLAIN ESTIMATE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 902 out of 1000 EXPLAIN SYNTAX SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 906 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 907 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 EXPLAIN AST SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 910 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('*'): * FROM t_v FORMAT JSON SETTINGS extremes = 1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 912 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 913 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 914 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 915 out of 1000 EXPLAIN PIPELINE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 916 out of 1000 EXPLAIN QUERY TREE SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 919 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 920 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 921 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 922 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 923 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 924 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 925 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 926 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 927 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 928 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 929 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 930 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 931 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 932 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 933 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 934 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 935 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 936 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 937 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 938 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 939 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 940 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 941 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 942 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 943 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 944 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 945 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 946 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 947 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 948 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 949 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 950 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 951 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 952 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 953 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 954 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 955 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 956 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 957 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 958 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 959 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 960 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 961 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 962 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 963 out of 1000 SELECT * FROM t_v WHERE t__fuzz_41 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_41 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT * FROM t_v WHERE t__fuzz_41. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 964 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 965 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 966 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 967 out of 1000 SELECT * FROM t_v PREWHERE t__fuzz_30 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v PREWHERE t__fuzz_30 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT * FROM t_v PREWHERE t__fuzz_30. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 968 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 969 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 970 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 971 out of 1000 SELECT * FROM t_v GROUP BY t__fuzz_43, t__fuzz_12 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v GROUP BY t__fuzz_43, t__fuzz_12 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_43' in scope SELECT * FROM t_v GROUP BY t__fuzz_43, t__fuzz_12. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 972 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 973 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 974 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 975 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 976 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 977 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 978 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 979 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 980 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 981 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 982 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 983 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 984 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 985 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 986 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 987 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 988 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 989 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 990 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 991 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 992 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 993 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 994 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 995 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 996 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 997 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 998 out of 1000 SELECT * FROM t_v WHERE t__fuzz_9 FORMAT JSON SETTINGS extremes = 1 Error on processing query 'SELECT * FROM t_v WHERE t__fuzz_9 FORMAT JSON SETTINGS extremes = 1': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_9' in scope SELECT * FROM t_v WHERE t__fuzz_9. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 999 out of 1000 SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1 Got boring AST Fuzzing step 0 out of 1 Query succeeded, using this AST as a start DROP TABLE IF EXISTS t__fuzz_0 DROP TABLE IF EXISTS t__fuzz_1 DROP TABLE IF EXISTS t__fuzz_2 DROP TABLE IF EXISTS t__fuzz_3 DROP TABLE IF EXISTS t__fuzz_4 DROP TABLE IF EXISTS t__fuzz_5 DROP TABLE IF EXISTS t__fuzz_6 DROP TABLE IF EXISTS t__fuzz_7 DROP TABLE IF EXISTS t__fuzz_8 DROP TABLE IF EXISTS t__fuzz_9 DROP TABLE IF EXISTS t__fuzz_10 DROP TABLE IF EXISTS t__fuzz_11 DROP TABLE IF EXISTS t__fuzz_12 DROP TABLE IF EXISTS t__fuzz_13 DROP TABLE IF EXISTS t__fuzz_14 DROP TABLE IF EXISTS t__fuzz_15 DROP TABLE IF EXISTS t__fuzz_16 DROP TABLE IF EXISTS t__fuzz_17 DROP TABLE IF EXISTS t__fuzz_18 DROP TABLE IF EXISTS t__fuzz_19 DROP TABLE IF EXISTS t__fuzz_20 DROP TABLE IF EXISTS t__fuzz_21 DROP TABLE IF EXISTS t__fuzz_22 DROP TABLE IF EXISTS t__fuzz_23 DROP TABLE IF EXISTS t__fuzz_24 DROP TABLE IF EXISTS t__fuzz_25 DROP TABLE IF EXISTS t__fuzz_26 DROP TABLE IF EXISTS t__fuzz_27 DROP TABLE IF EXISTS t__fuzz_28 DROP TABLE IF EXISTS t__fuzz_29 DROP TABLE IF EXISTS t__fuzz_30 DROP TABLE IF EXISTS t__fuzz_31 DROP TABLE IF EXISTS t__fuzz_32 DROP TABLE IF EXISTS t__fuzz_33 DROP TABLE IF EXISTS t__fuzz_34 DROP TABLE IF EXISTS t__fuzz_35 DROP TABLE IF EXISTS t__fuzz_36 DROP TABLE IF EXISTS t__fuzz_37 DROP TABLE IF EXISTS t__fuzz_38 DROP TABLE IF EXISTS t__fuzz_39 DROP TABLE IF EXISTS t__fuzz_40 DROP TABLE IF EXISTS t__fuzz_41 DROP TABLE IF EXISTS t__fuzz_42 DROP TABLE IF EXISTS t__fuzz_43 DROP TABLE IF EXISTS t__fuzz_44 DROP TABLE IF EXISTS t__fuzz_45 DROP TABLE IF EXISTS t__fuzz_46 DROP TABLE IF EXISTS t__fuzz_47 DROP TABLE IF EXISTS t__fuzz_48 Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 2 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 3 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, -2147483649 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, -2147483649) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 4 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 5 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_9, t__fuzz_44, t__fuzz_45 LIMIT 0 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_15 LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_9, t__fuzz_44, t__fuzz_45 LIMIT 0) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_15 LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_9' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_9, t__fuzz_44, t__fuzz_45 LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 6 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 7 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 8 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 9 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_20 LIMIT 9223372036854775806 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_20 LIMIT 9223372036854775806) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_20' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_20 LIMIT 9223372036854775806. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 10 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 11 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 14 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 15 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 17 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 18 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 20 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 22 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 25 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 27 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 28 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 29 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 32 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) PREWHERE t__fuzz_46 WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) PREWHERE t__fuzz_46 WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) PREWHERE t__fuzz_46 WHERE 10 ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 33 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 35 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 36 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 38 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 40 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 41 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 42 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 43 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 45 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 49 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 50 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 51 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 52 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 53 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 54 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 55 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 58 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 59 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 60 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 65 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 67 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 69 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 70 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 72 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 73 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 74 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 76 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 77 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 79 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 80 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 81 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 85 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 88 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 89 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 90 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 91 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 93 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 94 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 95 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 96 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 97 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 98 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 100 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 101 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 102 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 103 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 105 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 107 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 108 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 109 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 110 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 111 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 112 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 113 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_11 LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_11 LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_11 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 115 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) WHERE 10 ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) WHERE 10 ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) WHERE 10 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 118 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC Got boring AST Fuzzing step 120 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC Got boring AST Fuzzing step 121 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 123 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 124 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 125 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 126 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) PREWHERE t__fuzz_31 WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) PREWHERE t__fuzz_31 WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_31' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) PREWHERE t__fuzz_31 WHERE 10 ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 127 out of 1000 SELECT k, a, b FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 128 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) WHERE 10 ORDER BY k ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t LIMIT 1048576. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 129 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT t__fuzz_21, number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_25, t__fuzz_39, 10 LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT t__fuzz_21, number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_25, t__fuzz_39, 10 LIMIT 0, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_21' in scope SELECT t__fuzz_21, number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_25, t__fuzz_39, 10 LIMIT 0, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 130 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, t__fuzz_27, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, t__fuzz_27, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) WHERE 10 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT number AS k, t__fuzz_27, toString(number) AS a FROM system.numbers LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 131 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 132 out of 1000 SELECT k, a, b FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 133 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 134 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 135 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 137 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 138 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 140 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 141 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 142 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 144 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 145 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 147 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 148 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 149 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t, t__fuzz_1, t__fuzz_16, t__fuzz_29 LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t, t__fuzz_1, t__fuzz_16, t__fuzz_29 LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t, t__fuzz_1, t__fuzz_16, t__fuzz_29 LIMIT 1048576. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 153 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT k, a, b FROM ( SELECT toString(number) AS a FROM system.numbers GROUP BY t__fuzz_11, number LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT toString(number) AS a FROM system.numbers GROUP BY t__fuzz_11, number LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT toString(number) AS a FROM system.numbers GROUP BY t__fuzz_11, number LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 156 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 157 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 158 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 159 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_27 LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_27 LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 160 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT t__fuzz_25, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT t__fuzz_25, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 1025) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT t__fuzz_25, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 161 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 163 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE a LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE a LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE a LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x00000000110887ad 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 164 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 165 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 SELECT number, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT number, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'number' in scope SELECT number, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 167 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_11, number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_11, number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_11' in scope SELECT number AS k, toString(t__fuzz_11, number) AS a FROM system.numbers LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 169 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 170 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 171 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 173 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) WHERE t__fuzz_14 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) WHERE t__fuzz_14 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_14' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) WHERE t__fuzz_14 ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 174 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_12, t__fuzz_15, 76 LIMIT 0, 1025 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_12, t__fuzz_15, 76 LIMIT 0, 1025) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 76 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_12, t__fuzz_15, 76 LIMIT 0, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 175 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 SELECT t, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT t, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_5' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 177 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002572018 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 178 out of 1000 SELECT a, b FROM ( SELECT number AS k, t__fuzz_25, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, t__fuzz_25, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT number AS k, t__fuzz_25, toString(number) AS a FROM system.numbers LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 179 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 180 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 181 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 182 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 184 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY t__fuzz_33 DESC, k ASC NULLS FIRST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY t__fuzz_33 DESC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY t__fuzz_33 DESC, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 186 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 188 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 189 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 1025 LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 1025 LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 190 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 65536 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 65536) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 191 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY INNER JOIN ( SELECT number AS k, toString(t__fuzz_18, number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY INNER JOIN (SELECT number AS k, toString(t__fuzz_18, number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_18' in scope SELECT number AS k, toString(t__fuzz_18, number) AS b FROM system.numbers LIMIT 0, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 192 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 193 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_11 LIMIT 0, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_11 LIMIT 0, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_11 LIMIT 0, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 195 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 1025) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 197 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 198 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 200 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) GROUP BY t__fuzz_11 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) GROUP BY t__fuzz_11 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) GROUP BY t__fuzz_11 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 201 out of 1000 SELECT a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, b FROM (SELECT number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a, b FROM (SELECT number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025) USING (k) ORDER BY k ASC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 202 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_20 LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_20 LIMIT 0, 1025) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_20' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_20 LIMIT 0, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 203 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 204 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 206 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 207 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, -1 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, -1) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 208 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 209 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) PREWHERE t__fuzz_21 WHERE b ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025) USING (k) PREWHERE t__fuzz_21 WHERE b ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_21' in scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025) USING (k) PREWHERE t__fuzz_21 WHERE b ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 210 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 211 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(t__fuzz_21, number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(t__fuzz_21, number) AS b FROM system.numbers LIMIT 10, 1025) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_21' in scope SELECT number AS k, toString(t__fuzz_21, number) AS b FROM system.numbers LIMIT 10, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 212 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 213 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 214 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(t__fuzz_36, number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(t__fuzz_36, number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_36' in scope SELECT number AS k, toString(t__fuzz_36, number) AS a FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 215 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 216 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 219 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10.0001 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10.0001) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 220 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) WHERE t__fuzz_22 ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025) USING (k) WHERE t__fuzz_22 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025) USING (k) WHERE t__fuzz_22 ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 221 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 2147483646, 1025 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2147483646, 1025) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2147483646, 1025) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 222 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 224 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 225 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_30 LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_30 LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_30 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 226 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1025 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 227 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 1025 ) USING (k) WHERE t__fuzz_27 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 1025) USING (k) WHERE t__fuzz_27 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 1025) USING (k) WHERE t__fuzz_27 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 228 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 230 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 232 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 234 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 238 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 239 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 240 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_17, t__fuzz_30, t__fuzz_38 LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_17, t__fuzz_30, t__fuzz_38 LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_17' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_17, t__fuzz_30, t__fuzz_38 LIMIT 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 242 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 243 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 1048577 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 1048577 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 244 out of 1000 SELECT JSON, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, -2 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT JSON, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, -2) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 245 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 247 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 248 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 249 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) PREWHERE t__fuzz_23 WHERE 76 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) PREWHERE t__fuzz_23 WHERE 76 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_23' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) PREWHERE t__fuzz_23 WHERE 76 ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 250 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 251 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 252 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 10 LIMIT NULL, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 10 LIMIT NULL, 1048575) USING (k) WHERE 76 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 10 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 10 LIMIT NULL, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 253 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 ORDER BY k ASC': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 255 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Got boring AST Fuzzing step 256 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -2147483647 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -2147483647) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 257 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 257 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 257 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 258 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(JSON, number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) PREWHERE t__fuzz_4 WHERE 76 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(JSON, number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) PREWHERE t__fuzz_4 WHERE 76 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'JSON' in scope SELECT number AS k, toString(JSON, number) AS b FROM system.numbers LIMIT 1, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 259 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Got boring AST Fuzzing step 260 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Got boring AST Fuzzing step 261 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY 1048575 ASC, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 ORDER BY 1048575 ASC, k ASC': Received from localhost:9000. DB::Exception: Positional argument number 1048575 is out of bounds. Expected in range [1, 1]. In scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 ORDER BY 1048575 ASC, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 262 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE -2147483648 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE -2147483648 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Int32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 263 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Got boring AST Fuzzing step 264 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 GROUP BY 256, t__fuzz_17, t__fuzz_32 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 GROUP BY 256, t__fuzz_17, t__fuzz_32 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 256 is out of bounds. Expected in range [1, 1]. In scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 GROUP BY 256, t__fuzz_17, t__fuzz_32 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 265 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Got boring AST Fuzzing step 266 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 268 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 269 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) PREWHERE t__fuzz_44 WHERE 76 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) PREWHERE t__fuzz_44 WHERE 76 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) PREWHERE t__fuzz_44 WHERE 76 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 271 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) PREWHERE 76 WHERE 76 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) PREWHERE 76 WHERE 76 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k FROM system.numbers LIMIT 256 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 272 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 76 ORDER BY t__fuzz_7 ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 ORDER BY t__fuzz_7 ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_7' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 76 ORDER BY t__fuzz_7 ASC NULLS FIRST, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 273 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers GROUP BY t__fuzz_36, 10 LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers GROUP BY t__fuzz_36, 10 LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100, 1048575) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 10 is out of bounds. Expected in range [1, 1]. In scope SELECT number AS k FROM system.numbers GROUP BY t__fuzz_36, 10 LIMIT 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 274 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575 ) USING (k) WHERE 2147483646 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 1048575) USING (k) WHERE 2147483646 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 275 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048575 ) USING (k) PREWHERE 76 WHERE 76 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048575) USING (k) PREWHERE 76 WHERE 76 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k FROM system.numbers LIMIT 256 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 277 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 1048575) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 278 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 1048575) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 279 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 280 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE 3 LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE 3 LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 282 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE 3 LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 283 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE 3 LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 284 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE 3 LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -1 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -1) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 287 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 1048577 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE 1048577 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 288 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT '922337203.6854775806' ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT '922337203.6854775806') ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '922337203.6854775806'. In scope SELECT number AS k FROM system.numbers LIMIT '922337203.6854775806'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 289 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 290 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Got boring AST Fuzzing step 292 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 2147483647 ) USING (k) WHERE 76 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 2147483647) USING (k) WHERE 76 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.004695774 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 293 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k ASC Got boring AST Fuzzing step 294 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE -2147483648 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE -2147483648 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type Int32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 296 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC Got boring AST Fuzzing step 297 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1025 ) USING (k) WHERE 1048576 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1025) USING (k) WHERE 1048576 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 298 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) PREWHERE 100 WHERE 76 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) PREWHERE 100 WHERE 76 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k FROM system.numbers LIMIT 256 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 299 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC Got boring AST Fuzzing step 300 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_28, 65537 LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_28, 65537 LIMIT 2147483646, 1048575) USING (k) WHERE 76 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_28, 65537 LIMIT 2147483646, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 301 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC Got boring AST Fuzzing step 302 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC Got boring AST Fuzzing step 303 out of 1000 EXPLAIN PIPELINE compact = true SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE compact = true SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE 76 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 304 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) PREWHERE t__fuzz_21 WHERE 76 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) PREWHERE t__fuzz_21 WHERE 76 ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) PREWHERE t__fuzz_21 WHERE 76 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 305 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 2147483647 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE 2147483647 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 306 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 9223372036854775806 ) USING (k) WHERE 76 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 9223372036854775806) USING (k) WHERE 76 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 11.57588694 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 307 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 10 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) PREWHERE JSON WHERE 10 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) PREWHERE JSON WHERE 10 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) PREWHERE JSON WHERE 10 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 309 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 10 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC Got boring AST Fuzzing step 312 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 1048576 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE 1048576 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 313 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers GROUP BY t__fuzz_20 LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers GROUP BY t__fuzz_20 LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_20' in scope SELECT number AS k FROM system.numbers GROUP BY t__fuzz_20 LIMIT 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 315 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 316 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_22 LIMIT -9223372036854775808, 2147483646 ) USING (k) WHERE 9223372036854775806 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_22 LIMIT -9223372036854775808, 2147483646) USING (k) WHERE 9223372036854775806 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_22 LIMIT -9223372036854775808, 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 317 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 318 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14, t__fuzz_14, 2147483646 LIMIT 2147483646, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14, t__fuzz_14, 2147483646 LIMIT 2147483646, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14, t__fuzz_14, 2147483646 LIMIT 2147483646, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 319 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 320 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 323 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 324 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 325 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 326 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k FROM system.numbers GROUP BY t__fuzz_46, t__fuzz_26, t__fuzz_41, t__fuzz_19 LIMIT 1023, 1048575 ) USING (k) PREWHERE t__fuzz_23 WHERE 10 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k FROM system.numbers GROUP BY t__fuzz_46, t__fuzz_26, t__fuzz_41, t__fuzz_19 LIMIT 1023, 1048575) USING (k) PREWHERE t__fuzz_23 WHERE 10 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT number AS k FROM system.numbers GROUP BY t__fuzz_46, t__fuzz_26, t__fuzz_41, t__fuzz_19 LIMIT 1023, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 327 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(1048576, number) AS b FROM system.numbers LIMIT 1023, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(1048576, number) AS b FROM system.numbers LIMIT 1023, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(1048576, number) AS b FROM system.numbers LIMIT 1023, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 328 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k FROM system.numbers LIMIT 9223372036854775806, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k FROM system.numbers LIMIT 9223372036854775806, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k FROM system.numbers LIMIT 9223372036854775806, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 331 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -2147483648 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -2147483648) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 332 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 1023 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575) USING (k) WHERE 1023 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 333 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -1 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -1) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575) USING (k) WHERE 10 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 334 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 335 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 336 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 SELECT t__fuzz_6, b FROM ( SELECT number AS k FROM system.numbers GROUP BY number LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT t__fuzz_6, b FROM (SELECT number AS k FROM system.numbers GROUP BY number LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_6' in scope SELECT t__fuzz_6, b FROM (SELECT number AS k FROM system.numbers GROUP BY number LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 339 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 342 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 343 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 344 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 345 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 346 out of 1000 SELECT a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 347 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE 10 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 348 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 350 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 351 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 352 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(t__fuzz_15, number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(t__fuzz_15, number) AS b FROM system.numbers LIMIT 257, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_15' in scope SELECT number AS k, toString(t__fuzz_15, number) AS b FROM system.numbers LIMIT 257, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 355 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers PREWHERE 256 LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers PREWHERE 256 LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 356 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) PREWHERE 2147483646 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023) USING (k) PREWHERE 2147483646 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k FROM system.numbers LIMIT 1048577 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 357 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 358 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 255 LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 255 LIMIT 257, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 359 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers PREWHERE t LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers PREWHERE t LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT number AS k FROM system.numbers PREWHERE t LIMIT 1048577. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 360 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 361 out of 1000 EXPLAIN PIPELINE compact = true SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) WHERE 44 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE compact = true SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023) USING (k) WHERE 44 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 362 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 363 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 364 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 2147483646 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 2147483646) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 12.367969231 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 365 out of 1000 SELECT b FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) GROUP BY t__fuzz_26, t__fuzz_36, t__fuzz_21, t__fuzz_31, 5 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023) USING (k) GROUP BY t__fuzz_26, t__fuzz_36, t__fuzz_21, t__fuzz_31, 5 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 5 is out of bounds. Expected in range [1, 1]. In scope SELECT b FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023) USING (k) GROUP BY t__fuzz_26, t__fuzz_36, t__fuzz_21, t__fuzz_31, 5 ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 366 out of 1000 SELECT b FROM ( SELECT t__fuzz_4, number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT t__fuzz_4, number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_4' in scope SELECT t__fuzz_4, number AS k FROM system.numbers LIMIT 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 367 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 368 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 369 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 370 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1023 ) USING (k) PREWHERE Memory ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1023) USING (k) PREWHERE Memory ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1023) USING (k) PREWHERE Memory ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 372 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 373 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 375 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 376 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 378 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USIN. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 381 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 383 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 384 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 385 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 386 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 388 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USIN. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 389 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 390 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 391 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 393 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 396 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 397 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 398 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 399 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 400 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 401 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) PREWHERE t__fuzz_41 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) PREWHERE t__fuzz_41 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) PREWHERE t__fuzz_41 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 404 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 406 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE JSON LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers WHERE JSON LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT number AS k FROM system.numbers WHERE JSON LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 407 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, -1 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, -1) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 409 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 412 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 413 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 415 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 416 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 419 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 422 out of 1000 SELECT t__fuzz_21, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT t__fuzz_21, b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_21' in scope SELECT t__fuzz_21, b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 423 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 424 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, -9223372036854775807 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, -9223372036854775807) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 425 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 427 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 428 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 429 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 431 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 432 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 434 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 435 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 438 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 439 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -9223372036854775808 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -9223372036854775808) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 441 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 442 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 443 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 447 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 448 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 449 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 451 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 452 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 455 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 456 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 458 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 459 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 460 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(t__fuzz_8, number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY 3 ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(t__fuzz_8, number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY 3 ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_8' in scope SELECT number AS k, toString(t__fuzz_8, number) AS b FROM system.numbers LIMIT 10, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 462 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 464 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 465 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 466 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 467 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 469 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 471 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 472 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 473 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 474 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 476 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 478 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 481 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 483 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 489 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 490 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 491 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 492 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 493 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 495 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 500 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 502 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 505 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 506 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 507 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 508 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 509 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 515 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 516 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 517 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 518 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 522 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 524 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 525 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 526 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 527 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 528 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 10, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 529 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 530 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 531 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 532 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 533 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 534 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 535 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 536 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 537 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 538 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 539 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 544 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY t__fuzz_31 ASC, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY t__fuzz_31 ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_31' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY t__fuzz_31 ASC, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 545 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 546 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 548 out of 1000 SELECT b FROM ( SELECT t__fuzz_33, number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT t__fuzz_33, number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_33' in scope SELECT t__fuzz_33, number AS k FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 549 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 550 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 554 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 555 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 556 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 558 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 559 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 560 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 561 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 562 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 563 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 564 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 565 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 2147483647 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 2147483647) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00914121 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 566 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 570 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 573 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 574 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 575 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 577 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 578 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 579 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 580 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 584 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 585 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 586 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 587 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 588 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 589 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 590 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 591 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 593 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 595 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 596 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 598 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 600 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 601 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 602 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 603 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 604 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 605 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 606 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 608 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 609 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 610 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 611 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 612 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 613 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 614 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 615 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 616 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 619 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 620 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 622 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 623 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 624 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 627 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 628 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 629 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 630 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 631 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 632 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 633 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 634 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 637 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 638 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 639 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023) USING . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 640 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 642 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 647 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 648 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 649 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 650 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 1048577, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 651 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 652 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_2, 5 LIMIT 1048577, 2147483648 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_2, 5 LIMIT 1048577, 2147483648) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 5 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_2, 5 LIMIT 1048577, 2147483648. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 653 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 654 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 655 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 1, t__fuzz_12, 1023 LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 1, t__fuzz_12, 1023 LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1023 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 1, t__fuzz_12, 1023 LIMIT 2147483647, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 659 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 661 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers PREWHERE t__fuzz_46 LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers PREWHERE t__fuzz_46 LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT number AS k FROM system.numbers PREWHERE t__fuzz_46 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 662 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 663 out of 1000 EXPLAIN PIPELINE header = true SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 664 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 666 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 667 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 668 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 670 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, -9223372036854775808 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, -9223372036854775808) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 672 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 673 out of 1000 SELECT t__fuzz_14, b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65535 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT t__fuzz_14, b FROM (SELECT number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65535) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_14' in scope SELECT t__fuzz_14, b FROM (SELECT number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65535) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 674 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 675 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 676 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE 1023 LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers WHERE 1023 LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 677 out of 1000 EXPLAIN PIPELINE compact = true SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 678 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 679 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers GROUP BY 44, 44, t__fuzz_15, t__fuzz_24 LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1, number AS k FROM system.numbers GROUP BY 44, 44, t__fuzz_15, t__fuzz_24 LIMIT 3) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 44 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, number AS k FROM system.numbers GROUP BY 44, 44, t__fuzz_15, t__fuzz_24 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 681 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 682 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT NULL ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1, number AS k FROM system.numbers LIMIT NULL) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT 1, number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 683 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers WHERE t__fuzz_17 LIMIT 7 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT 1, number AS k FROM system.numbers WHERE t__fuzz_17 LIMIT 7) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_17' in scope SELECT 1, number AS k FROM system.numbers WHERE t__fuzz_17 LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 685 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 686 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 SELECT b FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 SELECT b FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 692 out of 1000 SELECT b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 693 out of 1000 SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 695 out of 1000 SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 696 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 698 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 699 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 700 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 701 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 702 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 703 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 704 out of 1000 SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers WHERE number LIMIT 1048577, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers WHERE number LIMIT 1048577, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type UInt64 of column __table4.number for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 705 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 706 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 709 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 710 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 711 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 713 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 714 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 716 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 717 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 718 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 719 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 EXPLAIN QUERY TREE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 722 out of 1000 EXPLAIN QUERY TREE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 723 out of 1000 EXPLAIN QUERY TREE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 724 out of 1000 EXPLAIN QUERY TREE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 725 out of 1000 EXPLAIN QUERY TREE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 726 out of 1000 EXPLAIN QUERY TREE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 727 out of 1000 EXPLAIN SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 730 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 731 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 732 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 733 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 734 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 736 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 737 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 738 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 739 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 740 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 741 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 742 out of 1000 SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(65537), toString(number) AS b FROM system.numbers LIMIT 2147483647, -1 ) USING (k) GROUP BY t__fuzz_0, t__fuzz_46 ORDER BY k ASC Error on processing query 'SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(65537), toString(number) AS b FROM system.numbers LIMIT 2147483647, -1) USING (k) GROUP BY t__fuzz_0, t__fuzz_46 ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 743 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 746 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 747 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 748 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 749 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 750 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 752 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 753 out of 1000 EXPLAIN PIPELINE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 754 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 756 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 757 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 758 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 759 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 760 out of 1000 EXPLAIN QUERY TREE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 764 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 765 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 766 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 768 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 769 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 770 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 771 out of 1000 EXPLAIN ESTIMATE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 772 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 773 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 774 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 775 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 776 out of 1000 EXPLAIN AST SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 777 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 778 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('7'): 7, b FROM (SELECT 1, number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM sy. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 779 out of 1000 EXPLAIN SYNTAX SELECT 7, b FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 780 out of 1000 SELECT 7 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 SELECT 7 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(materialize(toNullable(65537)))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 SELECT 7 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(materialize(toNullable(65537)))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 783 out of 1000 SELECT 7 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(materialize(toNullable(65537)))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 SELECT 7 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(materialize(toNullable(65537)))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 785 out of 1000 SELECT 7 FROM ( SELECT 1, t__fuzz_28, number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 7 FROM (SELECT 1, t__fuzz_28, number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_28' in scope SELECT 1, t__fuzz_28, number AS k FROM system.numbers LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 786 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 788 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 790 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 791 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 792 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 793 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 794 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 796 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 797 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 798 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 800 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 802 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 803 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 804 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00562958 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 805 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 806 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 807 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 808 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 809 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 810 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 811 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 813 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 814 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002985659 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 815 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 820 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 821 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 822 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 823 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 824 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 825 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 827 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 830 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 831 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 832 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 833 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 834 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 835 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 836 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 838 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 839 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 840 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 841 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.005455993 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 842 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 843 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 844 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 845 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 846 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 848 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 849 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 851 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 852 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 855 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 856 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 857 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 859 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 860 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 861 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 864 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT toNullable(materialize(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT toNullable(materialize(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT toNullable(materialize(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 866 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 867 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 869 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 871 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 872 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 873 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 874 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 875 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 876 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 877 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 878 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 879 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 880 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 881 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 882 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT toNullable(65537), number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT toNullable(65537), number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000301111 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 885 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 886 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 887 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 890 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 891 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 892 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 893 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers PREWHERE 44 LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers PREWHERE 44 LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 895 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 896 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 897 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 899 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 900 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 901 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 902 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 903 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 904 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 905 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 906 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 908 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 909 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 910 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 911 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 912 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 914 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 916 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 918 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 919 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 922 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 924 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 925 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 926 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 927 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 928 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 929 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 930 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 931 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 932 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 934 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 935 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 936 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 938 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 939 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 940 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 942 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 943 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.006559938 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 945 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 EXPLAIN AST SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers PREWHERE t__fuzz_38 LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers PREWHERE t__fuzz_38 LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_38' in scope SELECT toLowCardinality(1), number AS k FROM system.numbers PREWHERE t__fuzz_38 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 950 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 951 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 952 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 953 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 954 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 955 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 956 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 957 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.007708358 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 959 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 961 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 962 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 963 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 964 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 966 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 967 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 970 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 971 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 972 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 974 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 976 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 977 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 978 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 979 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 980 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 983 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 984 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(65537)), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002633034 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 985 out of 1000 SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(t__fuzz_34, 1), number AS k FROM system.numbers LIMIT 1025 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(t__fuzz_34, 1), number AS k FROM system.numbers LIMIT 1025) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_34' in scope SELECT toLowCardinality(t__fuzz_34, 1), number AS k FROM system.numbers LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 986 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 987 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 988 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 989 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 990 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 991 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(7) FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576) ANY INNER JOIN (SELECT number AS k, toNullable(materializ. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 992 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 994 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 995 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 997 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 998 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 EXPLAIN SELECT toLowCardinality(7) FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1048576 ) ANY INNER JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2147483647, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 3 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 4 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 1048575 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 1048575) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 5 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 6 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_25 LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_25 LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_25 LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 7 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 8 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(materialize(toNullable(65537))) LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(materialize(toNullable(65537))) LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column toNullable(materialize(_CAST(65537_Nullable(UInt32), 'Nullable(UInt32)'_String))) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 9 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 10 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 11 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 13 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 14 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 15 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 17 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 18 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 19 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 20 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbe. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 22 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 26 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 29 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 30 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 32 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 33 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 34 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 35 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_23 LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) PREWHERE toString(number) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_23 LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) PREWHERE toString(number) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_23' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_23 LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 36 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 37 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 38 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, t__fuzz_1, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) PREWHERE t__fuzz_36 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, t__fuzz_1, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) PREWHERE t__fuzz_36 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_1' in scope SELECT number AS k, t__fuzz_1, toString(number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 39 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbe. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 41 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 43 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 45 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_43, number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_43, number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_43' in scope SELECT number AS k, toString(t__fuzz_43, number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 46 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 47 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 10 LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 10 LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1048575) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 48 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 49 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 50 out of 1000 EXPLAIN PIPELINE header = true SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE header = true SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 51 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 52 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(65535, number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(65535, number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(65535, number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 53 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 54 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 55 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 56 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) PREWHERE t__fuzz_36 ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) PREWHERE t__fuzz_36 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) PREWHERE t__fuzz_36 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 58 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 59 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_9, 1025 LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) WHERE 44 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_9, 1025 LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) WHERE 44 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 1025 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_9, 1025 LIMIT 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 18. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 60 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_23, number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_23, number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_23' in scope SELECT number AS k, toString(t__fuzz_23, number) AS a FROM system.numbers LIMIT 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 61 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 62 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_29 LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_29 LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_29 LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 64 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, NULL ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, NULL) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 65 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) GROUP BY 1, 65537, t__fuzz_18, toNullable(materialize(65537)) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) GROUP BY 1, 65537, t__fuzz_18, toNullable(materialize(65537)) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 3]. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) GROUP BY 1, 65537, t__fuzz_18, toNullable(materialize(65537)) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 66 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 67 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) WHERE t__fuzz_18 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) WHERE t__fuzz_18 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_18' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) WHERE t__fuzz_18 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 68 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 70 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_15 LIMIT 3, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_15 LIMIT 3, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_15 LIMIT 3, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 71 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, -2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, -2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 72 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483649, 1048575 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483649, 1048575) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 73 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 75 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 76 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 79 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483647, 1048575) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483647, 1048575) USING (k) ORDER BY k ASC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 81 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 84 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 85 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 86 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 87 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 89 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, t__fuzz_16, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, t__fuzz_16, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_16' in scope SELECT number AS k, t__fuzz_16, toString(number) AS b FROM system.numbers LIMIT 2, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 90 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 91 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 92 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, -2147483649 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, -2147483649) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 93 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 94 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE Memory LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE Memory LIMIT 2, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE Memory LIMIT 2, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 96 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 97 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 99 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 100 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 101 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 102 out of 1000 SELECT k, a, t__fuzz_34, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, t__fuzz_34, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_34' in scope SELECT k, a, t__fuzz_34, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 103 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 1048575) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 105 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 106 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t LIMIT -2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t LIMIT -2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t LIMIT -2. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 107 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 108 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 1025 LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 1025 LIMIT 255) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 109 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_1 LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_1 LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_1' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_1 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 110 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_24, number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_9 LIMIT 2, 1048575 ) USING (k) ORDER BY materialize(toNullable(65537)) ASC, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_24, number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_9 LIMIT 2, 1048575) USING (k) ORDER BY materialize(toNullable(65537)) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_24' in scope SELECT number AS k, toString(t__fuzz_24, number) AS a FROM system.numbers LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 111 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 112 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 113 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) GROUP BY t__fuzz_16, t__fuzz_29 ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) GROUP BY t__fuzz_16, t__fuzz_29 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_16' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) GROUP BY t__fuzz_16, t__fuzz_29 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 114 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 2147483647 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 2147483647) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 12.509046313 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 116 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 117 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) PREWHERE t__fuzz_25 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) PREWHERE t__fuzz_25 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) PREWHERE t__fuzz_25 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 118 out of 1000 SELECT k, a, b FROM ( SELECT t__fuzz_20, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT t__fuzz_20, number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_20' in scope SELECT t__fuzz_20, number AS k, toString(number) AS a FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 119 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 120 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575 ) USING (k) PREWHERE t__fuzz_12 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) PREWHERE t__fuzz_12 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048575) USING (k) PREWHERE t__fuzz_12 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 121 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 123 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 126 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 127 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 128 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 129 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 130 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 132 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(t__fuzz_43, number) AS b FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1., 1048575 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT number AS k, toString(t__fuzz_43, number) AS b FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1., 1048575) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_43' in scope SELECT number AS k, toString(t__fuzz_43, number) AS b FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1., 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 134 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 136 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 137 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 138 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 139 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 140 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 142 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT t__fuzz_22, number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT t__fuzz_22, number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT t__fuzz_22, number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 144 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 145 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 146 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., -2147483647 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., -2147483647) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 147 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 SELECT k, a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1024) USING (k) ORDER BY k ASC. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 149 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, t__fuzz_6, t__fuzz_14 LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, toString(number), toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, t__fuzz_6, t__fuzz_14 LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, toString(number), toString(number) AS b FROM system.numbers LIMIT 1., 1024) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, t__fuzz_6, t__fuzz_14 LIMIT 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 150 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -inf, 1024 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -inf, 1024) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 151 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 153 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(t__fuzz_23, number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(t__fuzz_23, number) AS b FROM system.numbers LIMIT 1., 1) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_23' in scope SELECT number AS k, toString(t__fuzz_23, number) AS b FROM system.numbers LIMIT 1., 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 155 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 157 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 158 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 159 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(t__fuzz_10, number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(t__fuzz_10, number) AS b FROM system.numbers LIMIT 1., 1) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_10' in scope SELECT number AS k, toString(t__fuzz_10, number) AS b FROM system.numbers LIMIT 1., 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 160 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) PREWHERE b ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1) USING (k) PREWHERE b ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1) USING (k) PREWHERE b ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x00000000110887ad 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 162 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_3 LIMIT 1., -2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_3 LIMIT 1., -2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_3' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_3 LIMIT 1., -2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 163 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2147483648 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2147483648) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.830017682 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 164 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 SELECT k, a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1) USING (k) ORDER BY k DESC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 168 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 169 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 170 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 255 WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 255 WHERE 255 LIMIT 1., 1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 171 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 172 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 100.0001, 1 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 100.0001, 1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 173 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_4 LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_4 LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_4' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_4 LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 174 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(7, number) AS b FROM system.numbers WHERE 1025 LIMIT 1.0001, 1 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(7, number) AS b FROM system.numbers WHERE 1025 LIMIT 1.0001, 1) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(7, number) AS b FROM system.numbers WHERE 1025 LIMIT 1.0001, 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 175 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) GROUP BY a ORDER BY t__fuzz_6 ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1., 1) USING (k) GROUP BY a ORDER BY t__fuzz_6 ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1., 1) USING (k) GROUP BY a ORDER BY t__fuzz_6 ASC, k DESC NULLS FIRST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 176 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 177 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., -1 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., -1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 178 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1., 1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1., 1) USING (k) ORDER BY k DESC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 179 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 180 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1 ) USING (k) ORDER BY 1. ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 256 LIMIT 1., 1 ) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 256 LIMIT 1., 1) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 182 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY 1. ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 185 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY 1. DESC, k ASC Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 1 ) USING (k) ORDER BY 1. DESC, k ASC Got boring AST Fuzzing step 187 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. DESC, k ASC Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 9223372036854775806 ) USING (k) ORDER BY 1. DESC, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 9223372036854775806) USING (k) ORDER BY 1. DESC, k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 14.253194752 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 189 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. DESC, k ASC Got boring AST Fuzzing step 190 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(1024, number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k FROM system.numbers LIMIT 1., 2 ) USING (k) GROUP BY t__fuzz_13, t__fuzz_18 ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(1024, number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k FROM system.numbers LIMIT 1., 2) USING (k) GROUP BY t__fuzz_13, t__fuzz_18 ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(1024, number) AS a FROM system.numbers LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 191 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. DESC, k ASC Got boring AST Fuzzing step 192 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_18, number) AS a FROM system.numbers LIMIT 9223372036854775807 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 65536 ) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_18, number) AS a FROM system.numbers LIMIT 9223372036854775807) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 65536) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_18' in scope SELECT number AS k, toString(t__fuzz_18, number) AS a FROM system.numbers LIMIT 9223372036854775807. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 193 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 196 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers L. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 197 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 198 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 199 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 201 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 202 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 203 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 204 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 206 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 207 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 208 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 211 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 212 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers L. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 213 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 214 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 215 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 216 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 217 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 218 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 219 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 220 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers L. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 222 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 223 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k ASC Got boring AST Fuzzing step 224 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k DESC Got boring AST Fuzzing step 226 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, t__fuzz_41, toString(number) AS b FROM system.numbers WHERE t__fuzz_20 LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, t__fuzz_41, toString(number) AS b FROM system.numbers WHERE t__fuzz_20 LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT number AS k, t__fuzz_41, toString(number) AS b FROM system.numbers WHERE t__fuzz_20 LIMIT 1., 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 228 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 229 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 230 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 231 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_5' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 232 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 234 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 236 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 237 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT k, a FROM ( SELECT Memory, number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT Memory, number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 257) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT Memory, number AS k, toString(number) AS a FROM system.numbers LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 239 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 240 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 241 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 242 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 243 out of 1000 SELECT t__fuzz_32, k, a FROM ( SELECT t__fuzz_11, number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT t__fuzz_32, k, a FROM (SELECT t__fuzz_11, number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT t__fuzz_11, number AS k, toString(number) AS a FROM system.numbers LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 244 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 245 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10000000000., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10000000000., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000088451 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 246 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 248 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 249 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT materialize(1), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT materialize(1), k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 250 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(t__fuzz_33, number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(t__fuzz_33, number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_33' in scope SELECT number AS k, toString(t__fuzz_33, number) AS a FROM system.numbers LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 252 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 253 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 254 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 2147483646 LIMIT -2147483647 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 2147483646 LIMIT -2147483647) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 255 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k DESC Got boring AST Fuzzing step 257 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC, k DESC Got boring AST Fuzzing step 258 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMI. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 261 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 262 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 265 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 267 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 268 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 10 ASC, 1. ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 10 ASC, 1. ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 10 is out of bounds. Expected in range [1, 1]. In scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2) USING (k) ORDER BY 10 ASC, 1. ASC NULLS LAST, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 269 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 270 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1., 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 271 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 1023 LIMIT -0., 1048576 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 1023 LIMIT -0., 1048576) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 273 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 1048575 LIMIT -0., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 1048575 LIMIT -0., 2) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001164f5ed 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158170e 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 275 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 SELECT a FROM ( SELECT number AS k, toString(1048577, number) AS a FROM system.numbers PREWHERE toNullable(65537) LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. ASC, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(1048577, number) AS a FROM system.numbers PREWHERE toNullable(65537) LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY 1. ASC, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(1048577, number) AS a FROM system.numbers PREWHERE toNullable(65537) LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 278 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(t__fuzz_16, materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toNullable(t__fuzz_16, materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2., 2) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_16' in scope SELECT number AS k, toNullable(t__fuzz_16, materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 2., 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 282 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(65537) LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(t__fuzz_38, number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(65537) LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(t__fuzz_38, number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY 1. DESC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(65537) LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 283 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 2) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 284 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE Memory LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE Memory LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE Memory LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 285 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) WHERE 1024 ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY LEFT JOIN (SELECT number AS k, toNullable(materialize(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) WHERE 1024 ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 286 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, materialize(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647) ANY LEFT JOIN (SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.008644467 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 289 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. DESC, k DESC NULLS LAST Got boring AST Fuzzing step 290 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY 1. ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toNullable(65537), 1. LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toNullable(65537), 1. LIMIT 2) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toNullable(65537), 1. LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 294 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 295 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 SELECT a FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 298 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(65537) LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(65537) LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0) USING (k) ORDER BY 1. ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 300 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 0 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 304 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_47, t__fuzz_0 LIMIT 0., 0 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_47, t__fuzz_0 LIMIT 0., 0) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_47, t__fuzz_0 LIMIT 0., 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 305 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) WHERE 1023 ORDER BY 1. DESC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0) USING (k) WHERE 1023 ORDER BY 1. DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 307 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(t__fuzz_46, number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(t__fuzz_46, number) AS b FROM system.numbers LIMIT 0., 0) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_46' in scope SELECT number AS k, 65537, toString(t__fuzz_46, number) AS b FROM system.numbers LIMIT 0., 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 308 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT 65537, toString(number) AS b FROM system.numbers LIMIT 0.0001, 0 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT 65537, toString(number) AS b FROM system.numbers LIMIT 0.0001, 0) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 309 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., NULL ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., NULL) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 311 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(-0., number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(-0., number) AS b FROM system.numbers LIMIT 0., 0) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, 65537, toString(-0., number) AS b FROM system.numbers LIMIT 0., 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 312 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_4 LIMIT 0., 0 ) USING (k) ORDER BY t__fuzz_29 ASC, 1. ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_4 LIMIT 0., 0) USING (k) ORDER BY t__fuzz_29 ASC, 1. ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_4' in scope SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_4 LIMIT 0., 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 313 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, 9223372036854775806 ASC, k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY 1. DESC NULLS FIRST, 9223372036854775806 ASC, k ASC': Received from localhost:9000. DB::Exception: Positional argument number 9223372036854775806 is out of bounds. Expected in range [1, 1]. In scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY 1. DESC NULLS FIRST, 9223372036854775806 ASC, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 316 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 2) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 318 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers GROUP BY 1023, t__fuzz_27, t__fuzz_19 LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers GROUP BY 1023, t__fuzz_27, t__fuzz_19 LIMIT 0., 2) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1023 is out of bounds. Expected in range [1, 3]. In scope SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers GROUP BY 1023, t__fuzz_27, t__fuzz_19 LIMIT 0., 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 320 out of 1000 EXPLAIN PIPELINE header = true SELECT t__fuzz_25, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT t__fuzz_25, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 321 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT nan, 2 ) USING (k) ORDER BY 1. ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT nan, 2) USING (k) ORDER BY 1. ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 322 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0.5, 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0.5, 2) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 324 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0.0001, 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0.0001, 2) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 325 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 326 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 328 out of 1000 EXPLAIN PIPELINE header = true SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE header = true SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 329 out of 1000 SELECT a FROM ( SELECT number AS k, t__fuzz_15, toString(number) AS a FROM system.numbers LIMIT 2147483646 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 10.0001, 7 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, t__fuzz_15, toString(number) AS a FROM system.numbers LIMIT 2147483646) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 10.0001, 7) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT number AS k, t__fuzz_15, toString(number) AS a FROM system.numbers LIMIT 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 330 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(65537) FROM system.numbers LIMIT 1.1754943508222875e-38, 7 ) USING (k) WHERE 3 GROUP BY t__fuzz_36, 1, materialize(1), t__fuzz_45 ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toNullable(65537) FROM system.numbers LIMIT 1.1754943508222875e-38, 7) USING (k) WHERE 3 GROUP BY t__fuzz_36, 1, materialize(1), t__fuzz_45 ORDER BY 1. DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 331 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT t__fuzz_7, number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT t__fuzz_7, number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_7' in scope SELECT t__fuzz_7, number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT 0., 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 332 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 333 out of 1000 SELECT a FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 334 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers GROUP BY toNullable(65537), toLowCardinality(1048577) LIMIT 0., 7 ) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers GROUP BY toNullable(65537), toLowCardinality(1048577) LIMIT 0., 7) USING (k) ORDER BY 1. ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers GROUP BY toNullable(65537), toLowCardinality(1048577) LIMIT 0., 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 335 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(toLowCardinality(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(toLowCardinality(toNullable(65537))), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 339 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(toLowCardinality(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(toLowCardinality(toNullable(65537))), toString(number) AS b FROM system.numbers PREWHERE 65537 LIMIT 0., 7 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toNullable(toLowCardinality(toNullable(65537))), toString(number) AS b FROM system.numbers PREWHERE 65537 LIMIT 0., 7) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 341 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT inf, 1 ) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT inf, 1) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 342 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) WHERE t__fuzz_17 GROUP BY t__fuzz_0, 3, t__fuzz_45, 65536 ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) WHERE t__fuzz_17 GROUP BY t__fuzz_0, 3, t__fuzz_45, 65536 ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_17' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) WHERE t__fuzz_17 GROUP BY t__fuzz_0, 3, t__fuzz_45, 65536 ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 344 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) PREWHERE t__fuzz_11 ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) PREWHERE t__fuzz_11 ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) PREWHERE t__fuzz_11 ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 346 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_32, 0. LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_32, 0. LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1) USING (k) ORDER BY 1. ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_32, 0. LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 347 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 348 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) WHERE toString(number) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) WHERE toString(number) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) WHERE toString(number) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 349 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number, number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number, number) AS b FROM system.numbers LIMIT 0., 3) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toLowCardinality(65537), toString(number, number) AS b FROM system.numbers LIMIT 0., 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 350 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 351 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 352 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 353 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_13 LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_13 LIMIT 0., 3) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_13 LIMIT 0., 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 354 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1048575 LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) PREWHERE 1048577 ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1048575 LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) PREWHERE 1048577 ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1048575 LIMIT 0 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 355 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT nan, 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT nan, 3) USING (k) ORDER BY 1. DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 356 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) PREWHERE t__fuzz_44 ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) PREWHERE t__fuzz_44 ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) PREWHERE t__fuzz_44 ORDER BY 1. DESC NULLS LAST, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 357 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) GROUP BY 0, t__fuzz_42, t__fuzz_36 ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) GROUP BY 0, t__fuzz_42, t__fuzz_36 ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 0 is out of bounds. Expected in range [1, 1]. In scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) GROUP BY 0, t__fuzz_42, t__fuzz_36 ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 358 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 360 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 361 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT toLowCardinality(toInt256(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT toLowCardinality(toInt256(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT toLowCardinality(toInt256(65537)), toString(number) AS b FROM system.numbers LIMIT 0., 3) USING (k) ORDER BY 1. ASC NULLS FIRST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 362 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC, k ASC NULLS LAST Got boring AST Fuzzing step 365 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY 1. DESC, k ASC NULLS LAST Got boring AST Fuzzing step 366 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 370 out of 1000 SELECT a FROM ( SELECT number AS k, toString(k, number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(k, number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(k, number) AS a FROM system.numbers LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 371 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Got boring AST Fuzzing step 374 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Got boring AST Fuzzing step 375 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 1048577) USING (k) ORDER BY 1. DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 376 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_24 LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_24 LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY 1. DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_24' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_24 LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 377 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 379 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 1048577 ) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 1048577) USING (k) ORDER BY 1. DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 380 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) PREWHERE 10 ORDER BY 1. DESC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) PREWHERE 10 ORDER BY 1. DESC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 381 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 0., 1048577) USING (k) ORDER BY 1. DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 383 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 384 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST Got boring AST Fuzzing step 387 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST Got boring AST Fuzzing step 388 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(t__fuzz_28, 65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(t__fuzz_28, 65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY 1. DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_28' in scope SELECT number AS k, toLowCardinality(t__fuzz_28, 65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 389 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_45 LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_45 LIMIT 1025) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_45 LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 391 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) PREWHERE 65537 ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) PREWHERE 65537 ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 392 out of 1000 SELECT a FROM ( SELECT number AS k, toString(2147483647, number) AS a FROM system.numbers LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(2147483647, number) AS a FROM system.numbers LIMIT 1025) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY 1. DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(2147483647, number) AS a FROM system.numbers LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 393 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE dump_ast = true, passes = true SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "dump_ast" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 396 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., -2147483649 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., -2147483649) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 398 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) PREWHERE t__fuzz_47 ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) PREWHERE t__fuzz_47 ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) PREWHERE t__fuzz_47 ORDER BY 1. ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 400 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_30 LIMIT 0., 1048577 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_30 LIMIT 0., 1048577) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_30 LIMIT 0., 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 401 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 402 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0.9999, 1048577 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0.9999, 1048577) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 404 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 256) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 408 out of 1000 SELECT t__fuzz_25, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT t__fuzz_25, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT t__fuzz_25, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY 1. ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 409 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1.1920928955078125e-7, 65537 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1.1920928955078125e-7, 65537) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 410 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 411 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 412 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT inf, 65537 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT inf, 65537) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 413 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 415 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 416 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) PREWHERE t__fuzz_40 ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) PREWHERE t__fuzz_40 ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_40' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) PREWHERE t__fuzz_40 ORDER BY 1. ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 418 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 420 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100.0001, 257 ) USING (k) GROUP BY t__fuzz_29, t__fuzz_3 ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100.0001, 257) USING (k) GROUP BY t__fuzz_29, t__fuzz_3 ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 421 out of 1000 SELECT a FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 422 out of 1000 SELECT a FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 423 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_37, t__fuzz_10 LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_37, t__fuzz_10 LIMIT 10) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_37, t__fuzz_10 LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 424 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_18, t__fuzz_0, 1024 LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_18, t__fuzz_0, 1024 LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1024 is out of bounds. Expected in range [1, 3]. In scope SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_18, t__fuzz_0, 1024 LIMIT 0., 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 426 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 429 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 431 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 432 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 435 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 10000000000., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 10000000000., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000149653 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 436 out of 1000 EXPLAIN PIPELINE header = true, compact = true SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true, compact = true SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 437 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2147483648 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2147483648) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 11.875096276 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 438 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 439 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(t__fuzz_1, number) AS b FROM system.numbers PREWHERE t__fuzz_23 LIMIT 0., 10 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(t__fuzz_1, number) AS b FROM system.numbers PREWHERE t__fuzz_23 LIMIT 0., 10) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_1' in scope SELECT number AS k, -0., 65537, toString(t__fuzz_1, number) AS b FROM system.numbers PREWHERE t__fuzz_23 LIMIT 0., 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 440 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Got boring AST Fuzzing step 442 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Got boring AST Fuzzing step 443 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Got boring AST Fuzzing step 444 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT -0., toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT -0., toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT -0., toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 446 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 447 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 448 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 449 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483649 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483649) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 450 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 451 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 452 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 453 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 454 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 455 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 457 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -1 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) GROUP BY -0., toString(t__fuzz_6, number), materialize(toNullable(toNullable(65537))) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -1) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) GROUP BY -0., toString(t__fuzz_6, number), materialize(toNullable(toNullable(65537))) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 458 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 459 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., -2147483649 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY LEFT JOIN (SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., -2147483649) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 460 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 462 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, -0., 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Got boring AST Fuzzing step 465 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Got boring AST Fuzzing step 466 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0.9999, 257 ) USING (k) PREWHERE 255 ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0.9999, 257) USING (k) PREWHERE 255 ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 468 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers WHERE a LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers WHERE a LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Resolve identifier 'a' from parent scope only supported for constants and CTE. Actual a node type COLUMN. In scope SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers WHERE a LIMIT 0., 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, char const*&&, String&&) @ 0x000000001106ae0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::IdentifierLookup const&, DB::IdentifierResolveScope&) @ 0x000000001104ddbb 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001104d260 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f39e 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 469 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 SELECT a FROM ( SELECT number AS k, toString(t__fuzz_26, number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY t__fuzz_33 ASC, 1. DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(t__fuzz_26, number) AS a FROM system.numbers LIMIT 1023) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY t__fuzz_33 ASC, 1. DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_26' in scope SELECT number AS k, toString(t__fuzz_26, number) AS a FROM system.numbers LIMIT 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 471 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 473 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 474 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 475 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 476 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 477 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 478 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 479 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 480 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 481 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 482 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 483 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 484 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483649 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), toInt128(65537), toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483649) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), toInt128(65537), toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 485 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 486 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 487 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 488 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 489 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 490 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 491 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 492 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 493 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 494 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 495 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 496 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 497 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 500 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 502 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 503 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 504 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 505 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 506 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 507 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 508 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 510 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 512 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 513 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 514 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 515 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 516 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 517 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 518 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 519 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 520 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 521 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 522 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 524 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 526 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 527 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 528 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 529 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 530 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 531 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 533 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 534 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 535 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 536 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 537 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 539 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 540 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 542 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 543 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 544 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 545 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 546 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 547 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 548 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 549 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 550 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 551 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 552 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 553 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 554 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 555 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 556 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 558 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 559 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(t__fuzz_47, -0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(t__fuzz_47, -0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 560 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 561 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 562 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 563 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 564 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 565 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 566 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 567 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 568 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 569 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 570 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 571 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 572 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 574 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 575 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 577 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 578 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 579 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 580 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 581 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 582 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 583 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 584 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 585 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 586 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 588 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 590 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) PREWHERE t__fuzz_26 ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) PREWHERE t__fuzz_26 ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 592 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 593 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 594 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 595 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 596 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 597 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 598 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 599 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 601 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 602 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 603 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 604 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 605 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 606 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 607 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 608 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 609 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 610 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 611 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 612 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 613 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 615 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 616 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 617 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 618 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 619 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 620 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 621 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 622 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 623 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 624 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 625 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 626 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY t__fuzz_41 ASC NULLS FIRST, 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY t__fuzz_41 ASC NULLS FIRST, 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY t__fuzz_41 ASC NULLS FIRST, 1. DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 627 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 628 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 630 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 631 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 632 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 633 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 634 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 635 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 636 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 637 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 638 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 639 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 640 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 641 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 642 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 643 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 644 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(-0.), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toNullable(-0.), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 645 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 646 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 647 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 648 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 649 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 650 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 651 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 652 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 654 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 655 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 656 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 657 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 658 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 660 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 661 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 663 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 664 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 667 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 668 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 669 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 670 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 671 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 672 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 673 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 674 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 675 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 676 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT inf, 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT inf, 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 678 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 680 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 681 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 682 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 683 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 684 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 685 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 686 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 687 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 688 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 689 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 690 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 691 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 692 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 693 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 694 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 696 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 697 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 698 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 699 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 700 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 701 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(-0.), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toNullable(-0.), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 702 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 703 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 704 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 705 out of 1000 SELECT a FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 255) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 706 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 707 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 708 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 709 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 710 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 711 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 712 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 713 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 714 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 715 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 716 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 717 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 718 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 720 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 721 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 722 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 723 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 724 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 725 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 726 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 727 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 728 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 729 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 730 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 731 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 732 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 733 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 735 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 736 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 737 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 738 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 739 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 740 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 741 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 742 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 743 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 744 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 745 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 0) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 747 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 748 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 749 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 750 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 751 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 752 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 753 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 754 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 755 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 756 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 757 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 758 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 759 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 760 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 761 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 762 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 763 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 764 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 765 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 766 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 767 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 768 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 769 out of 1000 EXPLAIN SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 770 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(toNullable(-0.)), 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0.0001, 257 ) USING (k) ORDER BY 1. DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0.0001, 257) USING (k) ORDER BY 1. DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 773 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 775 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 776 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 777 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 778 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 780 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 781 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 782 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, t__fuzz_46, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, t__fuzz_46, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT number AS k, 65537, t__fuzz_46, toString(number) AS b FROM system.numbers LIMIT 0., 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 783 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) PREWHERE t__fuzz_42 ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) PREWHERE t__fuzz_42 ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_42' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) PREWHERE t__fuzz_42 ORDER BY 1. ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 784 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2147483648 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 2147483648) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 12.87502568 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 785 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toString(number), t__fuzz_29 LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toString(number), t__fuzz_29 LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toString(number), t__fuzz_29 LIMIT 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 786 out of 1000 EXPLAIN PIPELINE compact = true SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_2 LIMIT '21474836.46', 257 ) USING (k) ORDER BY 1. ASC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_2 LIMIT '21474836.46', 257) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 787 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 2 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 2) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_5' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 788 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1024 LIMIT 1024 ) ANY LEFT JOIN ( SELECT 1048577, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_27 LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1024 LIMIT 1024) ANY LEFT JOIN (SELECT 1048577, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_27 LIMIT 0., 257) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT 1048577, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_27 LIMIT 0., 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 789 out of 1000 SELECT a FROM ( SELECT number AS k, toString(b, number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(b, number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'b' in scope SELECT number AS k, toString(b, number) AS a FROM system.numbers LIMIT 1024. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 790 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 791 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 793 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 65537 ASC, 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576) USING (k) ORDER BY 65537 ASC, 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576) USING (k) ORDER BY 65537 ASC, 1. ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 795 out of 1000 SELECT a FROM ( SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576) USING (k) ORDER BY 1. DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 796 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 798 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 801 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -inf, 1048575 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -inf, 1048575) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 802 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 803 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 804 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 805 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 806 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) PREWHERE 7 ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576) USING (k) PREWHERE 7 ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 807 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 808 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) GROUP BY t__fuzz_3, t__fuzz_27 ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576) USING (k) GROUP BY t__fuzz_3, t__fuzz_27 ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_3' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576) USING (k) GROUP BY t__fuzz_3, t__fuzz_27 ORDER BY 1. DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 809 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 810 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 811 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, t__fuzz_20, t__fuzz_24 LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, t__fuzz_20, t__fuzz_24 LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1048576) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, t__fuzz_20, t__fuzz_24 LIMIT 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 812 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0.0001, 1048576 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0.0001, 1048576) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 813 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 815 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., -2147483649 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., -2147483649) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 816 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1025 ) USING (k) WHERE -0. ORDER BY 1. DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1025) USING (k) WHERE -0. ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM s. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 817 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 818 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 820 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM s. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 821 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 825 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 826 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 827 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Got boring AST Fuzzing step 828 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 830 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., -2147483648 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., -2147483648) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 831 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 833 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 834 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 835 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100.0001, 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100.0001, 1025) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 837 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -inf, 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -inf, 1025) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 838 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 839 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 840 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 841 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 842 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 843 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 844 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 846 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 847 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 848 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 849 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 1025 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 1025) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 850 out of 1000 SELECT a FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 851 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT inf ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT inf) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 852 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 853 out of 1000 SELECT a FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT inf, 1025 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT inf, 1025) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 854 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 855 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 856 out of 1000 SELECT a FROM ( SELECT number AS k, toString(t__fuzz_46, number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY a LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(t__fuzz_46, number) AS a FROM system.numbers LIMIT 1024) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY a LIMIT 1., 1025) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_46' in scope SELECT number AS k, toString(t__fuzz_46, number) AS a FROM system.numbers LIMIT 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 857 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t, t__fuzz_11, 1 LIMIT 1048577 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t, t__fuzz_11, 1 LIMIT 1048577) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t, t__fuzz_11, 1 LIMIT 1048577. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 858 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 859 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC Got boring AST Fuzzing step 860 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 862 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_22 LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_22 LIMIT 1., 1025) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_22 LIMIT 1., 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 864 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY t__fuzz_7 ASC NULLS FIRST, 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) ORDER BY t__fuzz_7 ASC NULLS FIRST, 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_7' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) ORDER BY t__fuzz_7 ASC NULLS FIRST, 1. ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 865 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 866 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers WHERE 1023 LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers WHERE 1023 LIMIT 1., 1025) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 867 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) WHERE toNullable(toLowCardinality(toNullable(65537))) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) WHERE toNullable(toLowCardinality(toNullable(65537))) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 868 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) PREWHERE materialize(1) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) PREWHERE materialize(1) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 869 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_43 LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'EXPLAIN SYNTAX SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_43 LIMIT 1., 1025) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_43' while processing query: 'SELECT number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_43 LIMIT 1., 1025', required columns: 'number' 't__fuzz_43', maybe you meant: 'number': While processing SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_43 LIMIT 1., 1025) USING (k) ORDER BY 1. ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 870 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 871 out of 1000 SELECT a FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 10000000000., -2147483649 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 10000000000., -2147483649) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 872 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY Memory, t__fuzz_42, t__fuzz_15, number, t__fuzz_14 LIMIT NULL ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY Memory, t__fuzz_42, t__fuzz_15, number, t__fuzz_14 LIMIT NULL) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY Memory, t__fuzz_42, t__fuzz_15, number, t__fuzz_14 LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 873 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 875 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 876 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(t__fuzz_27, number) AS b FROM system.numbers LIMIT 100000000000000000000., 1025 ) USING (k) ORDER BY 1. DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(t__fuzz_27, number) AS b FROM system.numbers LIMIT 100000000000000000000., 1025) USING (k) ORDER BY 1. DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_27' in scope SELECT number AS k, 65537, toString(t__fuzz_27, number) AS b FROM system.numbers LIMIT 100000000000000000000., 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 877 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Got boring AST Fuzzing step 880 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, t__fuzz_1, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, t__fuzz_1, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_1' in scope SELECT number AS k, t__fuzz_1, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 881 out of 1000 SELECT a FROM ( SELECT t__fuzz_32, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_32, t__fuzz_33, t__fuzz_21 LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT t__fuzz_32, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_32, t__fuzz_33, t__fuzz_21 LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT t__fuzz_32, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_32, t__fuzz_33, t__fuzz_21 LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 882 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 884 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 885 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100.0001, 1025 ) USING (k) ORDER BY 1. DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100.0001, 1025) USING (k) ORDER BY 1. DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 886 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 887 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 1025 ) USING (k) ORDER BY 1. ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 1025) USING (k) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 888 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_38, t__fuzz_12 LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_38, t__fuzz_12 LIMIT 2., 1025) USING (k) ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_38' in scope SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_38, t__fuzz_12 LIMIT 2., 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 889 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 890 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 891 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 2147483646 ) USING (k) ORDER BY 1. ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 2147483646) USING (k) ORDER BY 1. ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.465241201 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 892 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC NULLS LAST Got boring AST Fuzzing step 893 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) ORDER BY 1. ASC Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 EXPLAIN ESTIMATE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN ESTIMATE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 896 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 897 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 898 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 899 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 900 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 901 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 902 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 903 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('t__fuzz_22'): t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 904 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 905 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 906 out of 1000 EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 907 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('t__fuzz_22'): t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 908 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 909 out of 1000 EXPLAIN SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 910 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 911 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 912 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 913 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 914 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 915 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 916 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 917 out of 1000 SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WITH TOTALS LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 65536 ) USING (k) PREWHERE Memory GROUP BY toNullable(65537), t__fuzz_34, 65536, toNullable(65537) ORDER BY 1. ASC Error on processing query 'SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WITH TOTALS LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 65536) USING (k) PREWHERE Memory GROUP BY toNullable(65537), t__fuzz_34, 65536, toNullable(65537) ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 918 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 919 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 920 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 921 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 922 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 923 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 924 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 925 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 926 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 927 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 928 out of 1000 EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 929 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 930 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 931 out of 1000 SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., -2147483648 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., -2147483648) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 932 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 933 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 934 out of 1000 EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 935 out of 1000 EXPLAIN TABLE OVERRIDE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('t__fuzz_22'): t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 936 out of 1000 EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 937 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 938 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 939 out of 1000 EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 940 out of 1000 EXPLAIN SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 941 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 942 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 943 out of 1000 EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 944 out of 1000 EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 945 out of 1000 EXPLAIN TABLE OVERRIDE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('t__fuzz_22'): t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 946 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 947 out of 1000 EXPLAIN SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 948 out of 1000 SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, materialize(65537), toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, materialize(65537), toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 949 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 950 out of 1000 EXPLAIN ESTIMATE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN ESTIMATE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 951 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 952 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 953 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 954 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 955 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 956 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 957 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 958 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 959 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 960 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 961 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 962 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 963 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 964 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('t__fuzz_22'): t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 965 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 966 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 967 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 968 out of 1000 SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 969 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 970 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 971 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 972 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 973 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 974 out of 1000 EXPLAIN SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 975 out of 1000 EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN QUERY TREE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 976 out of 1000 EXPLAIN TABLE OVERRIDE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('t__fuzz_22'): t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 977 out of 1000 EXPLAIN ESTIMATE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN ESTIMATE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 978 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 979 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 980 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 981 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 982 out of 1000 SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 983 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 984 out of 1000 SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 985 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 986 out of 1000 SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, -0. LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC NULLS LAST Error on processing query 'SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, -0. LIMIT 1) ANY LEFT JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, -0. LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 987 out of 1000 EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 988 out of 1000 EXPLAIN SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 989 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 990 out of 1000 EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN PIPELINE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 991 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 992 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 993 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 994 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 995 out of 1000 EXPLAIN TABLE OVERRIDE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('t__fuzz_22'): t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 996 out of 1000 EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN SYNTAX SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_2' while processing query: 'SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1', required columns: 'number' 't__fuzz_2', maybe you meant: 'number': While processing SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 997 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 998 out of 1000 EXPLAIN ESTIMATE SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Error on processing query 'EXPLAIN ESTIMATE SELECT t__fuzz_22, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1) ANY LEFT JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025) USING (k) PREWHERE Memory ORDER BY 1. ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 999 out of 1000 EXPLAIN AST SELECT t__fuzz_22, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_2, toNullable(-0.) LIMIT 1 ) ANY LEFT JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 2., 1025 ) USING (k) PREWHERE Memory ORDER BY 1. ASC Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1024 LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_22 LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1024 LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_22 LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_22 LIMIT 5, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 2 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) GROUP BY t__fuzz_46, t__fuzz_11, 1. ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) GROUP BY t__fuzz_46, t__fuzz_11, 1. ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) GROUP BY t__fuzz_46, t__fuzz_11, 1. ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 3 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_8, 1048575 LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_8, 1048575 LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 1048575 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_8, 1048575 LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 4 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 5 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 6 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 5, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 7 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 8 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 9 out of 1000 SELECT k, a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 5, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 10 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, t__fuzz_28, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, t__fuzz_28, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, t__fuzz_28, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 12 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 13 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 14 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 15 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_28 LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_28 LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_28' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_28 LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 17 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 18 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 19 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT t__fuzz_11, number AS k FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT t__fuzz_11, number AS k FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT t__fuzz_11, number AS k FROM system.numbers LIMIT 5, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 21 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 22 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 26 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY t__fuzz_8 ASC, k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY t__fuzz_8 ASC, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_8' in scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY t__fuzz_8 ASC, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 27 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) PREWHERE t__fuzz_21 ORDER BY k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) PREWHERE t__fuzz_21 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) PREWHERE t__fuzz_21 ORDER BY k ASC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 28 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 29 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 76 LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 76 LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 30 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 31 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 32 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 33 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 34 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 SELECT a, t__fuzz_28, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, t__fuzz_28, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_28' in scope SELECT a, t__fuzz_28, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 36 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 SELECT a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257) USING (k) ORDER BY k ASC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 39 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 41 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 43 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 1023 LIMIT 65535, 257 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 1023 LIMIT 65535, 257) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 44 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 45 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 SELECT a, b FROM ( SELECT t__fuzz_40, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT t__fuzz_40, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_40' in scope SELECT t__fuzz_40, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 47 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 48 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 50 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 51 out of 1000 SELECT a, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 SELECT a, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT a, materialize(t__fuzz_21, 1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, materialize(t__fuzz_21, 1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_21' in scope SELECT a, materialize(t__fuzz_21, 1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 54 out of 1000 SELECT a, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT a, materialize(toNullable(toInt128(1))), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT a, materialize(toNullable(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_34, t__fuzz_30 LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, materialize(toNullable(1)), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_34, t__fuzz_30 LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_34' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_34, t__fuzz_30 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 57 out of 1000 SELECT a, materialize(toNullable(toInt128(1))), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 58 out of 1000 SELECT a, materialize(toNullable(t__fuzz_45, toInt128(1))), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, materialize(toNullable(t__fuzz_45, toInt128(1))), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_45' in scope SELECT a, materialize(toNullable(t__fuzz_45, toInt128(1))), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 59 out of 1000 SELECT a, materialize(toNullable(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT a, materialize(toNullable(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 61 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 63 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) GROUP BY 65536, materialize(1) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) GROUP BY 65536, materialize(1) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65536 is out of bounds. Expected in range [1, 3]. In scope SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) GROUP BY 65536, materialize(1) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 64 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 65 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_18 LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_18 LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_18' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_18 LIMIT 65535, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 66 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '214748364.6', 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '214748364.6', 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual '214748364.6'. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '214748364.6', 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 67 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 68 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.001002255 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 69 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(t__fuzz_4, number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(t__fuzz_4, number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_4' in scope SELECT number AS k, toString(t__fuzz_4, number) AS b FROM system.numbers LIMIT 65535, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 70 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 71 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 73 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 74 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 75 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 78 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 79 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 81 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 82 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 83 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 85 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 86 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 89 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 90 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 91 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 92 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 95 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 97 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 98 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 99 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 100 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 103 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 104 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 106 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2147483646 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2147483646) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002976852 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 107 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 109 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 110 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 111 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 112 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 113 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 114 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 115 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 117 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 118 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 120 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 123 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 125 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY 1048577 ASC, k DESC NULLS LAST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY 1048577 ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 1048577 is out of bounds. Expected in range [1, 3]. In scope SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY 1048577 ASC, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 128 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775807 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775807) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00107937 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 129 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_32 LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_32 LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_32 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 130 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 131 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_29 LIMIT 65535, 2 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_29 LIMIT 65535, 2) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_29 LIMIT 65535, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 133 out of 1000 SELECT t__fuzz_45, a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 2 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT t__fuzz_45, a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 2) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT t__fuzz_45, a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 2) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 134 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_29 LIMIT 1048577, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_29 LIMIT 1048577, 2) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_29 LIMIT 1048577, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 136 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 2) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 137 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 9223372036854775807 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 9223372036854775807) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.7762962 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 138 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 139 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 141 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 142 out of 1000 SELECT a, toNullable(t__fuzz_18, 1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, toNullable(t__fuzz_18, 1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_18' in scope SELECT a, toNullable(t__fuzz_18, 1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 143 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000305829 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 144 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 145 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 146 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 150 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 154 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 155 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 156 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 157 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 158 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 159 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 161 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 163 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 165 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 166 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 167 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 168 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 169 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 170 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 172 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 173 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 174 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 175 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 179 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 180 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 181 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 182 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 183 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 184 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 185 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 186 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 187 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 188 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 189 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 190 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 191 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 192 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 194 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 197 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 198 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 202 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 203 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(JSON, number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(JSON, number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'JSON' in scope SELECT number AS k, toString(JSON, number) AS b FROM system.numbers LIMIT 65535, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 207 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 209 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 211 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 212 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 214 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 215 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 216 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 217 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 218 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 219 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 220 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 222 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 223 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 224 out of 1000 EXPLAIN SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 225 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 228 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 229 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 230 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 231 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 232 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 233 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 234 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 235 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT a, t__fuzz_26, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 1048575 LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, t__fuzz_26, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 1048575 LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_26' in scope SELECT a, t__fuzz_26, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 1048575 LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 237 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 238 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 239 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 240 out of 1000 EXPLAIN ESTIMATE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 241 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 245 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 246 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 247 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 249 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 250 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 251 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 252 out of 1000 EXPLAIN SYNTAX SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 253 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 255 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 256 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 257 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 258 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 EXPLAIN PIPELINE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 260 out of 1000 EXPLAIN QUERY TREE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 263 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 264 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 265 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 266 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 267 out of 1000 EXPLAIN AST SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 268 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) PREWHERE t__fuzz_5 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576) USING (k) PREWHERE t__fuzz_5 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_5' in scope SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576) USING (k) PREWHERE t__fuzz_5 ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 270 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 272 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 273 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 255 LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 255 LIMIT 1023) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 255 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 255 LIMIT 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 275 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 278 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002566728 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 279 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 SELECT a, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT a, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 SELECT a, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1.0001, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, materialize(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1.0001, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 283 out of 1000 SELECT a, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.5, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.5, 65535) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 286 out of 1000 SELECT a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1000.0001, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1000.0001, 65535) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 287 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT nan, 1024 ) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT nan, 1024) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 289 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_8 LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_8 LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_8' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_8 LIMIT 2., 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 290 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 291 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 292 out of 1000 SELECT 1, b FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC Error on processing query 'SELECT 1, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 1, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 293 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, 2147483646, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 1024 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, 2147483646, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 1024 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 294 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 295 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 296 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 298 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1'): 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.number. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 300 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1'): 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.number. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 301 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 303 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1'): 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.number. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 304 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1'): 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.number. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 306 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 307 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 308 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 309 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 310 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1'): 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.number. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 312 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 313 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 316 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 319 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1'): 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.number. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 320 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 322 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 324 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 325 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 326 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 327 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 328 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 330 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 332 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 333 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 335 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 336 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 337 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 339 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 EXPLAIN ESTIMATE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN ESTIMATE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 342 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) PREWHERE t__fuzz_12 WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) PREWHERE t__fuzz_12 WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) PREWHERE t__fuzz_12 WHERE 7 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 343 out of 1000 EXPLAIN AST SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 344 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 347 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 348 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('1'): 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.number. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 350 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 351 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 352 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 353 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT t__fuzz_31, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT t__fuzz_31, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_31' in scope SELECT t__fuzz_31, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 354 out of 1000 EXPLAIN SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 355 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 EXPLAIN PIPELINE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 357 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 360 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 361 out of 1000 EXPLAIN QUERY TREE SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 362 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 EXPLAIN SYNTAX SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 364 out of 1000 SELECT 1, b FROM ( SELECT t__fuzz_46, number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1, b FROM (SELECT t__fuzz_46, number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT t__fuzz_46, number AS k, toString(number) AS a FROM system.numbers LIMIT 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 365 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., -9223372036854775807 ) USING (k) WHERE 7 ORDER BY k DESC Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., -9223372036854775807) USING (k) WHERE 7 ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 367 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 368 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 369 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 370 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 375 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true, compact = true SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 376 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY toNullable(1) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY toNullable(1) DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 381 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3 ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3 ) USING (k) PREWHERE t__fuzz_25 WHERE 7 ORDER BY toNullable(1) ASC NULLS FIRST, k DESC Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3) USING (k) PREWHERE t__fuzz_25 WHERE 7 ORDER BY toNullable(1) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3) USING (k) PREWHERE t__fuzz_25 WHERE 7 ORDER BY toNullable(1) ASC NULLS FIRST, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 383 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 2., 0. ) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2., 0.) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2., 0.) USING (k) WHERE 7 ORDER BY toNullable(1) ASC NULLS LAST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 384 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3 ) USING (k) WHERE 7 ORDER BY toNullable(1) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3 ) USING (k) WHERE 7 ORDER BY toNullable(1) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 386 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 9223372036854775807 ) USING (k) WHERE 7 ORDER BY toNullable(1) DESC NULLS FIRST, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 9223372036854775807) USING (k) WHERE 7 ORDER BY toNullable(1) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.005553624 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 387 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 390 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 391 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 392 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., -1 ) USING (k) GROUP BY 10 ORDER BY toNullable(1) ASC NULLS LAST, k DESC Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., -1) USING (k) GROUP BY 10 ORDER BY toNullable(1) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 393 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10000000000., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10000000000., 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "dump_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 395 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 396 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 397 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE number LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE number LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt64 of column __table2.number for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 398 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 9223372036854775807 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 9223372036854775807) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.846386198 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 399 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 400 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS FIRST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 401 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10.0001, 65537 ) USING (k) ORDER BY t ASC NULLS FIRST, toNullable(1) DESC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10.0001, 65537) USING (k) ORDER BY t ASC NULLS FIRST, toNullable(1) DESC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 402 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC, k ASC NULLS LAST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 404 out of 1000 SELECT b FROM ( SELECT number AS k, toString(t__fuzz_27, number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC, number ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k, toString(t__fuzz_27, number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC, number ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_27' in scope SELECT number AS k, toString(t__fuzz_27, number) AS a FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 405 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 SELECT toInt128(materialize(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_25 LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT toInt128(materialize(1)), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_25 LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_25 LIMIT 2., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 410 out of 1000 SELECT toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 SELECT toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC, k ASC NULLS LAST Got boring AST Fuzzing step 412 out of 1000 SELECT toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC, k ASC NULLS LAST Got boring AST Fuzzing step 413 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646 ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 417 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 419 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_17, t__fuzz_21, 2147483647, 1025, 7 LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_17, t__fuzz_21, 2147483647, 1025, 7 LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 2147483647 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_17, t__fuzz_21, 2147483647, 1025, 7 LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 420 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.5, 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.5, 65537) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 421 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY toNullable(1) DESC NULLS LAST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 424 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65537 ) USING (k) ORDER BY toNullable(1) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65537 ) USING (k) ORDER BY toNullable(1) ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 428 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 431 out of 1000 SELECT 0, 1, b FROM ( SELECT number AS k, toString(t__fuzz_36, number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_42 LIMIT 3.4028234663852886e38, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 0, 1, b FROM (SELECT number AS k, toString(t__fuzz_36, number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_42 LIMIT 3.4028234663852886e38, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_36' in scope SELECT number AS k, toString(t__fuzz_36, number) AS a FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 432 out of 1000 SELECT 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers GROUP BY toNullable(65537), materialize(65537) LIMIT 65535 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers GROUP BY toNullable(65537), materialize(65537) LIMIT 65535) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k FROM system.numbers GROUP BY toNullable(65537), materialize(65537) LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 435 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 437 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('1'): 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 438 out of 1000 SELECT materialize(toNullable(toInt256(1))), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 SELECT materialize(toString(number), toNullable(toInt256(1))), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(toInt256(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(toString(number), toNullable(toInt256(1))), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(toInt256(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT materialize(toString(number), toNullable(toInt256(1))), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(toInt256(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 440 out of 1000 SELECT toNullable(toInt256(1)), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) ORDER BY t__fuzz_17 ASC, k DESC Error on processing query 'SELECT toNullable(toInt256(1)), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY t__fuzz_17 ASC, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_17' in scope SELECT toNullable(toInt256(1)), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) ORDER BY t__fuzz_17 ASC, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 441 out of 1000 SELECT materialize(toNullable(toInt256(1))), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2 ) USING (k) GROUP BY toNullable(toLowCardinality(toNullable(65537))) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT materialize(toNullable(toInt256(1))), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) GROUP BY toNullable(toLowCardinality(toNullable(65537))) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT materialize(toNullable(toInt256(1))), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2) USING (k) GROUP BY toNullable(toLowCardinality(toNullable(65537))) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 442 out of 1000 SELECT materialize(toNullable(toInt256(1))), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 SELECT materialize(toNullable(toInt256(1))), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65535 ) USING (k) ORDER BY t__fuzz_29 ASC, k DESC Error on processing query 'SELECT materialize(toNullable(toInt256(1))), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65535) USING (k) ORDER BY t__fuzz_29 ASC, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT materialize(toNullable(toInt256(1))), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65535) USING (k) ORDER BY t__fuzz_29 ASC, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 444 out of 1000 SELECT materialize(toNullable(1)), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT toNullable(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 SELECT toNullable(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 447 out of 1000 SELECT t__fuzz_12, toNullable(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(t__fuzz_34, toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT t__fuzz_12, toNullable(1), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(t__fuzz_34, toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_34' in scope SELECT materialize(t__fuzz_34, toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 448 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 449 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 EXPLAIN optimize = true, sorting = true SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN optimize = true, sorting = true SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "optimize" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 451 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) GROUP BY k, t__fuzz_4, toInt128(1), 76 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) GROUP BY k, t__fuzz_4, toInt128(1), 76 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 76 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) GROUP BY k, t__fuzz_4, toInt128(1), 76 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 453 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) GROUP BY t__fuzz_39, t__fuzz_6, 76, 1025 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) GROUP BY t__fuzz_39, t__fuzz_6, 76, 1025 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 76 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) GROUP BY t__fuzz_39, t__fuzz_6, 76, 1025 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 455 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., -2147483648 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., -2147483648) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 456 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 457 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 458 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 0., 2 ) USING (k) GROUP BY toLowCardinality(toNullable(toLowCardinality(65537))), 65535, t__fuzz_27, Memory ORDER BY materialize(1) ASC, k DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 0., 2) USING (k) GROUP BY toLowCardinality(toNullable(toLowCardinality(65537))), 65535, t__fuzz_27, Memory ORDER BY materialize(1) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 0., 2) USING (k) GROUP BY toLowCardinality(toNullable(toLowCardinality(65537))), 65535, t__fuzz_27, Memory ORDER BY materialize(1) ASC, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 461 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT nan, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT nan, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 462 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 463 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(65535, number) AS b FROM system.numbers WHERE 255 LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toNullable(65537), number AS k, toString(65535, number) AS b FROM system.numbers WHERE 255 LIMIT 0., 2) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT toNullable(65537), number AS k, toString(65535, number) AS b FROM system.numbers WHERE 255 LIMIT 0., 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 465 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 466 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), 1024, number AS k, toString(materialize(65537), number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toNullable(65537), 1024, number AS k, toString(materialize(65537), number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT toNullable(65537), 1024, number AS k, toString(materialize(65537), number) AS b FROM system.numbers LIMIT 0., 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 467 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 468 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT -9223372036854775807 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT -9223372036854775807) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 469 out of 1000 SELECT t__fuzz_24, toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT t__fuzz_24, toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_24' in scope SELECT t__fuzz_24, toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 470 out of 1000 SELECT toLowCardinality(toLowCardinality(1)), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 SELECT toLowCardinality(toLowCardinality(1)), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY 256, 65536 LIMIT 0., 2 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(toLowCardinality(1)), b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY 256, 65536 LIMIT 0., 2) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 256 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY 256, 65536 LIMIT 0., 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 472 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 475 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_30 GROUP BY t__fuzz_38, t__fuzz_46 LIMIT 0., 255 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_30 GROUP BY t__fuzz_38, t__fuzz_46 LIMIT 0., 255) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT 65537, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_30 GROUP BY t__fuzz_38, t__fuzz_46 LIMIT 0., 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 478 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, t__fuzz_15, number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(65537), materialize(toNullable(1)) LIMIT 0., 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, t__fuzz_15, number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(65537), materialize(toNullable(1)) LIMIT 0., 1048576) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT 65537, t__fuzz_15, number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(65537), materialize(toNullable(1)) LIMIT 0., 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 481 out of 1000 SELECT toLowCardinality(toNullable(1)), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 SELECT toLowCardinality(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT NULL ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) PREWHERE t__fuzz_26 ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(1), b FROM (SELECT number AS k FROM system.numbers LIMIT NULL) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048576) USING (k) PREWHERE t__fuzz_26 ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 483 out of 1000 SELECT toNullable(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 486 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 487 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 SELECT 1, b FROM ( SELECT t__fuzz_40, number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 1, b FROM (SELECT t__fuzz_40, number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_40' in scope SELECT t__fuzz_40, number AS k FROM system.numbers LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 489 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 491 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 492 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 494 out of 1000 SELECT materialize(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 496 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT materialize(toNullable(65537)), number AS k, toString(t__fuzz_42, number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT materialize(toNullable(65537)), number AS k, toString(t__fuzz_42, number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_42' in scope SELECT materialize(toNullable(65537)), number AS k, toString(t__fuzz_42, number) AS b FROM system.numbers LIMIT 2., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 497 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers WHERE t__fuzz_12 LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2147483646 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers WHERE t__fuzz_12 LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 2147483646) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT number AS k FROM system.numbers WHERE t__fuzz_12 LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 498 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 9223372036854775807 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 9223372036854775807) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.005130087 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 500 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 501 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 502 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 2., 65537 ) USING (k) WHERE 65535 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1, b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 2., 65537) USING (k) WHERE 65535 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT 65537, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 2., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 503 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 SELECT 1, b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 505 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT b FROM ( SELECT t__fuzz_47, number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT t__fuzz_47, number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT t__fuzz_47, number AS k FROM system.numbers LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 507 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 508 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -2 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY t__fuzz_21 ASC, k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -2) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537) USING (k) ORDER BY t__fuzz_21 ASC, k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 510 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 511 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 512 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 513 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 516 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 517 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 518 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY t__fuzz_11 DESC, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY t__fuzz_11 DESC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY t__fuzz_11 DESC, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 519 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 522 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 523 out of 1000 SELECT t__fuzz_25, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT t__fuzz_25, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT t__fuzz_25, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 524 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_36 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_36 LIMIT 0., 65537) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_36 LIMIT 0., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 526 out of 1000 EXPLAIN PIPELINE compact = true SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE compact = true SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 527 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 528 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 530 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 531 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, 0., number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, 0., number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 533 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT NULL ) ANY RIGHT JOIN ( SELECT 65537, 0., number AS k, toString(number) AS b FROM system.numbers LIMIT -inf, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT NULL) ANY RIGHT JOIN (SELECT 65537, 0., number AS k, toString(number) AS b FROM system.numbers LIMIT -inf, 65537) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 534 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 65537, 0., number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 535 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 0., number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 0., number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_38, t__fuzz_42 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT 0., number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_38, t__fuzz_42 LIMIT 0., 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_38' in scope SELECT 0., number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_38, t__fuzz_42 LIMIT 0., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 537 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 0., number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 538 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT 0., number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 539 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 541 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 542 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers GROUP BY t__fuzz_1 LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) PREWHERE -0. ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers GROUP BY t__fuzz_1 LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) PREWHERE -0. ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_1' in scope SELECT number AS k FROM system.numbers GROUP BY t__fuzz_1 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 543 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 544 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) PREWHERE 44 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) PREWHERE 44 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k FROM system.numbers LIMIT 1048576 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 545 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(t__fuzz_41, number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(t__fuzz_41, number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_41' in scope SELECT number AS k, toString(t__fuzz_41, number) AS b FROM system.numbers LIMIT 0., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 546 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 548 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 549 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 550 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 552 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 553 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 555 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 556 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(materialize(toNullable(materialize(toNullable(65537)))), number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(materialize(toNullable(materialize(toNullable(65537)))), number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(materialize(toNullable(materialize(toNullable(65537)))), number) AS b FROM system.numbers LIMIT 0., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 557 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 558 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -2 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -2) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 559 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 560 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1025 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 562 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 567 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 2147483647 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 2147483647) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.114600472 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 569 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., -2147483649 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., -2147483649) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 570 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 1000.0001, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 1000.0001, 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 571 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 574 out of 1000 SELECT b FROM ( SELECT a, number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT a, number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a, number AS k FROM system.numbers LIMIT 65535. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 575 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 576 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE toLowCardinality(toNullable(-0.)) LIMIT '-0.2147483648' ) ANY RIGHT JOIN ( SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers WHERE toLowCardinality(toNullable(-0.)) LIMIT '-0.2147483648') ANY RIGHT JOIN (SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '-0.2147483648'. In scope SELECT number AS k FROM system.numbers WHERE toLowCardinality(toNullable(-0.)) LIMIT '-0.2147483648'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 578 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(toNullable(1024)), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 579 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT '-922337203.6854775807', 1 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT '-922337203.6854775807', 1) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual '-922337203.6854775807'. In scope SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT '-922337203.6854775807', 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 581 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 582 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(t__fuzz_9, 1024), toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 1 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toNullable(t__fuzz_9, 1024), toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_9' in scope SELECT number AS k, toNullable(t__fuzz_9, 1024), toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 583 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 584 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) GROUP BY toNullable(materialize(toNullable(65537))), 0, t__fuzz_16 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 1) USING (k) GROUP BY toNullable(materialize(toNullable(65537))), 0, t__fuzz_16 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 0 is out of bounds. Expected in range [1, 1]. In scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 1) USING (k) GROUP BY toNullable(materialize(toNullable(65537))), 0, t__fuzz_16 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 586 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 1 ) USING (k) PREWHERE t__fuzz_42 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 1) USING (k) PREWHERE t__fuzz_42 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_42' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 1) USING (k) PREWHERE t__fuzz_42 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 587 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 590 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 591 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., '10485.76' ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., '10485.76') USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '10485.76'. In scope SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., '10485.76'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 592 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 595 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 596 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) PREWHERE 1048577 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65536) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) PREWHERE 1048577 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k FROM system.numbers LIMIT 65536 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 601 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 EXPLAIN `header, description` = true, actions = true SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN `header, description` = true, actions = true SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65536) ANY RIGHT JOIN (SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "header, description" for EXPLAIN PLAN query. Supported settings: sorting, optimize, indexes, json, actions, description, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [5], String&&) @ 0x000000001158a80b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x00000000115860e2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 603 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 604 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 10000000000., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65536) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 10000000000., 65537) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000105745 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 606 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 607 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 608 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 609 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 610 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 1.0001, 65537 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65536) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 1.0001, 65537) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 611 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., '0.000000001' ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 65536) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., '0.000000001') USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '0.000000001'. In scope SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., '0.000000001'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 612 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 613 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 618 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 620 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 621 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 622 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 623 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 624 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 625 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 EXPLAIN SYNTAX SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 629 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 633 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers PREWHERE toLowCardinality(1024) GROUP BY materialize(toString(number), toNullable(toInt256(1))), t__fuzz_47 LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers PREWHERE toLowCardinality(1024) GROUP BY materialize(toString(number), toNullable(toInt256(1))), t__fuzz_47 LIMIT 65536) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT number AS k FROM system.numbers PREWHERE toLowCardinality(1024) GROUP BY materialize(toString(number), toNullable(toInt256(1))), t__fuzz_47 LIMIT 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 635 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 639 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 640 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, t__fuzz_36, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, t__fuzz_36, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT number AS k, t__fuzz_36, toNullable(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 641 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers PREWHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT -9223372036854775807 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers PREWHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT -9223372036854775807) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 642 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 643 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 2147483646 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers LIMIT 0., 2147483646) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00019446 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 645 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 647 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers LIMIT 0., -9223372036854775807 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers LIMIT 0., -9223372036854775807) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 648 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -2147483648 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -2147483648) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers LIMIT 0., 65537) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 649 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers WHERE toLowCardinality(toNullable(65537)) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537) USING (k) ORDER BY k DESC, k ASC': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 654 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., -9223372036854775808 ) USING (k) ORDER BY k ASC, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., -9223372036854775808) USING (k) ORDER BY k ASC, k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 657 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Got boring AST Fuzzing step 658 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT nan, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT nan, 65537) USING (k) ORDER BY k ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 659 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 9223372036854775807 LIMIT 1.1754943508222875e-38, 65537 ) USING (k) ORDER BY k ASC, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 9223372036854775807 LIMIT 1.1754943508222875e-38, 65537) USING (k) ORDER BY k ASC, k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 660 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Got boring AST Fuzzing step 661 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -2 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., -2147483647 ) USING (k) ORDER BY k ASC, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -2) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., -2147483647) USING (k) ORDER BY k ASC, k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 663 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 665 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 9223372036854775807 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 9223372036854775807 LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 667 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 GROUP BY t__fuzz_44 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 GROUP BY t__fuzz_44 LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 GROUP BY t__fuzz_44 LIMIT 0., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 668 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 257 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 257 LIMIT 0., 65537) USING (k) ORDER BY k ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 669 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 GROUP BY t__fuzz_30, t__fuzz_5 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 GROUP BY t__fuzz_30, t__fuzz_5 LIMIT 0., 65537) USING (k) ORDER BY k DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 GROUP BY t__fuzz_30, t__fuzz_5 LIMIT 0., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 671 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 673 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, 1024 FROM system.numbers WHERE 2147483646 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, 1024 FROM system.numbers WHERE 2147483646 LIMIT 0., 65537) USING (k) ORDER BY k ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, 1024 FROM system.numbers WHERE 2147483646 LIMIT 0., 65537) USING (k) ORDER BY k ASC, k DESC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 675 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, t__fuzz_15, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, t__fuzz_15, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT number AS k, t__fuzz_15, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 677 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 678 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers GROUP BY materialize(toNullable(1)), materialize(toString(number), toInt256(1)) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers GROUP BY materialize(toNullable(1)), materialize(toString(number), toInt256(1)) LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT number AS k FROM system.numbers GROUP BY materialize(toNullable(1)), materialize(toString(number), toInt256(1)) LIMIT 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 679 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 680 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 683 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 685 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 686 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 687 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 688 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 689 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 690 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 691 out of 1000 EXPLAIN AST SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 692 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 694 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 EXPLAIN QUERY TREE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 696 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 698 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 699 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 700 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 701 out of 1000 EXPLAIN SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 702 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 703 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 704 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) PREWHERE 3 ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537) USING (k) PREWHERE 3 ORDER BY k DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k FROM system.numbers LIMIT 1048575 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 705 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 707 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT NULL ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT NULL) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 710 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Got boring AST Fuzzing step 712 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024 FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, 1024 FROM system.numbers WHERE 255 LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, 1024 FROM system.numbers WHERE 255 LIMIT 0., 65537) USING (k) ORDER BY k ASC NULLS FIRST, k ASC. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 713 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Got boring AST Fuzzing step 714 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0., 65537 ) USING (k) ORDER BY k ASC, k ASC Got boring AST Fuzzing step 715 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT NULL ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers PREWHERE 44 WHERE 255 LIMIT 1., NULL ) USING (k) ORDER BY k ASC, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT NULL) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers PREWHERE 44 WHERE 255 LIMIT 1., NULL) USING (k) ORDER BY k ASC, k ASC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 717 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 0 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(256, number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL ) USING (k) ORDER BY k ASC, k ASC Error on processing query 'EXPLAIN PIPELINE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 0) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(256, number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL) USING (k) ORDER BY k ASC, k ASC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, 1024, toString(256, number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 27. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 718 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 723 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k DESC NULLS LAST Got boring AST Fuzzing step 724 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE '92233720368547758.06' LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE '92233720368547758.06' LIMIT 1., 1048575) USING (k) ORDER BY k ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE '92233720368547758.06' LIMIT 1., 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 725 out of 1000 EXPLAIN TABLE OVERRIDE SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65537 ) USING (k) GROUP BY t__fuzz_33, toLowCardinality(1), materialize(toInt128(1)) ORDER BY k DESC, k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65537) USING (k) GROUP BY t__fuzz_33, toLowCardinality(1), materialize(toInt128(1)) ORDER BY k DESC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.num. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 726 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers PREWHERE t__fuzz_32 LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 65537 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers PREWHERE t__fuzz_32 LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, 1024, toString(number) AS b FROM system.numbers WHERE 65537 LIMIT 1., 1048575) USING (k) ORDER BY k ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT number AS k FROM system.numbers PREWHERE t__fuzz_32 LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 727 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(toLowCardinality(1024)), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT '9223372036854775807' ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(toLowCardinality(1024)), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT '9223372036854775807') ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(toLowCardinality(1024)), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '9223372036854775807'. In scope SELECT number AS k FROM system.numbers LIMIT '9223372036854775807'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 729 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(toLowCardinality(1024)), toString(number) AS b FROM system.numbers WHERE 1023 LIMIT 1., NULL ) USING (k) ORDER BY k ASC, k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(toLowCardinality(1024)), toString(number) AS b FROM system.numbers WHERE 1023 LIMIT 1., NULL) USING (k) ORDER BY k ASC, k DESC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toLowCardinality(toLowCardinality(1024)), toString(number) AS b FROM system.numbers WHERE 1023 LIMIT 1., NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 730 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers GROUP BY toLowCardinality(1048576), 255, 2. LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(toLowCardinality(1024)), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535 ) USING (k) ORDER BY k DESC, k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers GROUP BY toLowCardinality(1048576), 255, 2. LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(toLowCardinality(1024)), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535) USING (k) ORDER BY k DESC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 255 is out of bounds. Expected in range [1, 1]. In scope SELECT number AS k FROM system.numbers GROUP BY toLowCardinality(1048576), 255, 2. LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 731 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE 2147483646 WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC, k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE 2147483646 WHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 734 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 736 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE -9223372036854775807 LIMIT 1., 1048575 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE -9223372036854775807 LIMIT 1., 1048575) USING (k) ORDER BY k DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Illegal type Int64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 737 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024) FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024) FROM system.numbers WHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024) FROM system.numbers WHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 738 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) GROUP BY 9223372036854775806, 65537, t__fuzz_7 ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575) USING (k) GROUP BY 9223372036854775806, 65537, t__fuzz_7 ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 9223372036854775806 is out of bounds. Expected in range [1, 1]. In scope SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575) USING (k) GROUP BY 9223372036854775806, 65537, t__fuzz_7 ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 739 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 740 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 SELECT b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers WHERE Memory LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers WHERE Memory LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers WHERE Memory LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 742 out of 1000 SELECT t__fuzz_17, b FROM ( SELECT number AS k FROM system.numbers LIMIT 9223372036854775807 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., -9223372036854775808 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT t__fuzz_17, b FROM (SELECT number AS k FROM system.numbers LIMIT 9223372036854775807) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., -9223372036854775808) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 743 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC NULLS LAST Got boring AST Fuzzing step 744 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 2147483648 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 2147483648) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.728213936 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 745 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE t__fuzz_8 WHERE 255 LIMIT 0.0001, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE t__fuzz_8 WHERE 255 LIMIT 0.0001, 1048575) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_8' in scope SELECT number AS k, toLowCardinality(1024), toString(number) AS b FROM system.numbers PREWHERE t__fuzz_8 WHERE 255 LIMIT 0.0001, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 746 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 SELECT JSON, b FROM ( SELECT number AS k FROM system.numbers PREWHERE t__fuzz_18 LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k DESC, k DESC NULLS LAST Error on processing query 'SELECT JSON, b FROM (SELECT number AS k FROM system.numbers PREWHERE t__fuzz_18 LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k DESC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_18' in scope SELECT number AS k FROM system.numbers PREWHERE t__fuzz_18 LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 749 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 255 WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE 255 WHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 750 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT -2147483649 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575 ) USING (k) ORDER BY k DESC, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT -2147483649) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 1048575) USING (k) ORDER BY k DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 751 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535 ) USING (k) ORDER BY k DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535 ) USING (k) ORDER BY k DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535 ) USING (k) ORDER BY k DESC NULLS LAST, k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535) USING (k) ORDER BY k DESC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 6553. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 754 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 756 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers GROUP BY toNullable(1), 1048577, 2147483646 LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers GROUP BY toNullable(1), 1048577, 2147483646 LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535) USING (k) ORDER BY k ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1048577 is out of bounds. Expected in range [1, 1]. In scope SELECT number AS k FROM system.numbers GROUP BY toNullable(1), 1048577, 2147483646 LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 757 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 65535 ) USING (k) ORDER BY k ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 2147483648 LIMIT 1., 65535 ) USING (k) ORDER BY k ASC NULLS LAST, k DESC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 2147483648 LIMIT 1., 65535) USING (k) ORDER BY k ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 759 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 3 ) USING (k) ORDER BY k ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE -1 LIMIT 0.9999, 3 ) USING (k) ORDER BY k ASC, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE -1 LIMIT 0.9999, 3) USING (k) ORDER BY k ASC, k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 761 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 3 ) USING (k) ORDER BY k ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 3 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers GROUP BY toNullable(toLowCardinality(toNullable(65537))), toInt256(1), 76 LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 0 ) USING (k) ORDER BY k ASC NULLS FIRST, k ASC Error on processing query 'SELECT b FROM (SELECT number AS k FROM system.numbers GROUP BY toNullable(toLowCardinality(toNullable(65537))), toInt256(1), 76 LIMIT 255) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 0) USING (k) ORDER BY k ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Positional argument number 76 is out of bounds. Expected in range [1, 1]. In scope SELECT number AS k FROM system.numbers GROUP BY toNullable(toLowCardinality(toNullable(65537))), toInt256(1), 76 LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 764 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 3 ) USING (k) WHERE 1 ORDER BY k ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 SELECT b FROM ( SELECT number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 768 out of 1000 SELECT b FROM ( SELECT materialize(toNullable(1024)), number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 769 out of 1000 SELECT b FROM ( SELECT materialize(1024), number AS k FROM system.numbers LIMIT 255 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT nan, 256 ) USING (k) WHERE 1 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT materialize(1024), number AS k FROM system.numbers LIMIT 255) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT nan, 256) USING (k) WHERE 1 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 770 out of 1000 SELECT b FROM ( SELECT materialize(toNullable(1024)), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 SELECT b FROM ( SELECT materialize(1024) FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT materialize(1024) FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 1 ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT b FROM (SELECT materialize(1024) FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 1 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 772 out of 1000 SELECT b FROM ( SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) PREWHERE 1 WHERE 1 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) PREWHERE 1 WHERE 1 ORDER BY k ASC': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT b FROM (SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) PREWHERE 1 WHERE 1 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 773 out of 1000 SELECT b FROM ( SELECT materialize(toNullable(1024)), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0.9999, -2147483648 ) USING (k) WHERE 1 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT materialize(toNullable(1024)), number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0.9999, -2147483648) USING (k) WHERE 1 ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 774 out of 1000 SELECT b FROM ( SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 SELECT t__fuzz_16, b FROM ( SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Error on processing query 'SELECT t__fuzz_16, b FROM (SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 1 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_16' in scope SELECT t__fuzz_16, b FROM (SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 1 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 776 out of 1000 SELECT b FROM ( SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT NULL, 256 ) USING (k) WHERE 1 ORDER BY toNullable(1) ASC, k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT NULL, 256) USING (k) WHERE 1 ORDER BY toNullable(1) ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT NULL, 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 777 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL ) USING (k) WHERE 1 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL) USING (k) WHERE 1 ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 778 out of 1000 SELECT b FROM ( SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(toLowCardinality(toNullable(-0.)), number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(toLowCardinality(toNullable(-0.)), number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 1 ORDER BY k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT toString(toLowCardinality(toNullable(-0.)), number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 779 out of 1000 SELECT b FROM ( SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Got boring AST Fuzzing step 780 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., -2147483648 ) USING (k) WHERE 1 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., -2147483648) USING (k) WHERE 1 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 781 out of 1000 SELECT b FROM ( SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 257 LIMIT 1000.0001, 256 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT materialize(1024), number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 257 LIMIT 1000.0001, 256) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 782 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 783 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE -9223372036854775808 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE -9223372036854775808 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Int64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 784 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Got boring AST Fuzzing step 785 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE -2147483647 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE -2147483647 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type Int32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 786 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 788 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0.9999, 256 ) USING (k) WHERE 1 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0.9999, 256) USING (k) WHERE 1 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 789 out of 1000 SELECT b FROM ( SELECT materialize(1024), 1, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., -1 ) USING (k) WHERE 1 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT materialize(1024), 1, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., -1) USING (k) WHERE 1 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 790 out of 1000 EXPLAIN ESTIMATE SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k FROM system.numbers WHERE NULL LIMIT 1., 256 ) USING (k) WHERE 1 GROUP BY toInt256(65537), 256 ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT toString(number), number AS k FROM system.numbers WHERE NULL LIMIT 1., 256) USING (k) WHERE 1 GROUP BY toInt256(65537), 256 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT toString(number), number AS k FROM system.numbers WHERE NULL LIMIT 1., 256) USING (k) WHERE 1 GROUP BY toInt256(65537), 256 ORDER BY k ASC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 14. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 15. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 791 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers PREWHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY toNullable(1) ASC, k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers PREWHERE 255 LIMIT 1., 256) USING (k) WHERE 1 ORDER BY toNullable(1) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 792 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 793 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT inf, 256 ) USING (k) WHERE 1 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT inf, 256) USING (k) WHERE 1 ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 795 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT toString(number), number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1 ORDER BY k ASC Got boring AST Fuzzing step 796 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 255 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL ) USING (k) WHERE 255 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL) USING (k) WHERE 255 ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 798 out of 1000 SELECT b FROM ( SELECT t__fuzz_30, 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0.0001, 256 ) USING (k) WHERE 255 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT t__fuzz_30, 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 0.0001, 256) USING (k) WHERE 255 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT t__fuzz_30, 1024, number AS k FROM system.numbers LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 799 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 1048575 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 1048575 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 800 out of 1000 EXPLAIN PIPELINE SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 2 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 255 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 2) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 255 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 2) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 255 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 801 out of 1000 EXPLAIN indexes = true SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 255 ORDER BY k DESC Error on processing query 'EXPLAIN indexes = true SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 255 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "indexes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 802 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers GROUP BY toNullable(toLowCardinality(toNullable(toInt128(65537)))) LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256 ) USING (k) WHERE 3 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers GROUP BY toNullable(toLowCardinality(toNullable(toInt128(65537)))) LIMIT 1048575) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT 1., 256) USING (k) WHERE 3 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT 1024, number AS k FROM system.numbers GROUP BY toNullable(toLowCardinality(toNullable(toInt128(65537)))) LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 803 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 256 ) USING (k) WHERE 255 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 256 ) USING (k) WHERE 255 ORDER BY k DESC Got boring AST Fuzzing step 805 out of 1000 SELECT b FROM ( SELECT toLowCardinality(1024), number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 256 ) USING (k) WHERE 255 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 256 ) USING (k) WHERE 255 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 256 ) USING (k) WHERE 0 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 256 ) USING (k) WHERE 0 ORDER BY k ASC Got boring AST Fuzzing step 809 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 256 ) USING (k) WHERE 0 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE -9223372036854775808 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE -9223372036854775808 LIMIT -0., 255) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Int64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 814 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 815 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 816 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 817 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toNullable(materialize(toLowCardinality(toInt256(1)))), 1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 1023 LIMIT -0., 255 ) USING (k) PREWHERE materialize(toNullable(1)) WHERE 0 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toNullable(materialize(toLowCardinality(toInt256(1)))), 1) LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 1023 LIMIT -0., 255) USING (k) PREWHERE materialize(toNullable(1)) WHERE 0 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toNullable(materialize(toLowCardinality(toInt256(1)))), 1) LIMIT 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 818 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -inf, 255 ) USING (k) WHERE 1048577 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -inf, 255) USING (k) WHERE 1048577 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 819 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 820 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT -9223372036854775808 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT -9223372036854775808) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255) USING (k) WHERE 0 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 821 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 0 LIMIT -0., 255 ) USING (k) PREWHERE t__fuzz_18 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 0 LIMIT -0., 255) USING (k) PREWHERE t__fuzz_18 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_18' in scope SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 0 LIMIT -0., 255) USING (k) PREWHERE t__fuzz_18 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 822 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 823 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 255 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 824 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 825 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC Got boring AST Fuzzing step 827 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) PREWHERE t__fuzz_31 WHERE 0 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) PREWHERE t__fuzz_31 WHERE 0 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_31' in scope SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048577) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) PREWHERE t__fuzz_31 WHERE 0 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 828 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048577 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(toInt256(1))) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 65537 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(toInt256(1))) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) WHERE 65537 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(Int256) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 831 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 2147483646 LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 2147483646 LIMIT -0., 255) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 832 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 833 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 835 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 257 ORDER BY k ASC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) WHERE 257 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 836 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -inf, 255 ) USING (k) WHERE 0 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -inf, 255) USING (k) WHERE 0 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 837 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 0 ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) WHERE 1048577 ORDER BY k DESC Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) WHERE 1048577 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 839 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 841 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 842 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 843 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1025 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 255 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1025) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 255) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 844 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) PREWHERE 2147483647 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) PREWHERE 2147483647 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 845 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers PREWHERE 1025 WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) PREWHERE t__fuzz_27 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers PREWHERE 1025 WHERE toNullable(1) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) PREWHERE t__fuzz_27 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT b FROM (SELECT 1024, number AS k FROM system.numbers PREWHERE 1025 WHERE toNullable(1) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) PREWHERE t__fuzz_27 ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 846 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('b'): b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 847 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 100.0001 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 100.0001) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 848 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 849 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 852 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 853 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255 ) USING (k) GROUP BY t__fuzz_26, 76 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255) USING (k) GROUP BY t__fuzz_26, 76 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 76 is out of bounds. Expected in range [1, 1]. In scope SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255) USING (k) GROUP BY t__fuzz_26, 76 ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 854 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 855 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) GROUP BY t__fuzz_30, 2., t__fuzz_4 LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) GROUP BY t__fuzz_30, 2., t__fuzz_4 LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 255) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT 1024, number AS k FROM system.numbers WHERE toNullable(1) GROUP BY t__fuzz_30, 2., t__fuzz_4 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 856 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 858 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 859 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) GROUP BY materialize(1024) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) GROUP BY materialize(1024) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) GROUP BY materialize(1024) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 860 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 9223372036854775807 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 9223372036854775807) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002678165 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 861 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., -9223372036854775807 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., -9223372036854775807) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 862 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 863 out of 1000 EXPLAIN json = true SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) PREWHERE t__fuzz_12 ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN json = true SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1048576) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535) USING (k) PREWHERE t__fuzz_12 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "json" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 864 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1048576 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 865 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 SELECT b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT nan, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1023) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT nan, 65535) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 868 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 869 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT -1 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65535, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT -1) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 871 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 872 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 873 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 875 out of 1000 SELECT 65535, b FROM ( SELECT 1024 FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2147483646 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65535, b FROM (SELECT 1024 FROM system.numbers LIMIT 1023) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2147483646) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 65535, b FROM (SELECT 1024 FROM system.numbers LIMIT 1023) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 2147483646) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 876 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 SELECT t__fuzz_42, 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT t__fuzz_42, 65535, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1023) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_42' in scope SELECT t__fuzz_42, 65535, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1023) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 878 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 1048577 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65535, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 1023) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 1048577) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 879 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 880 out of 1000 SELECT toInt256(65535), b FROM ( SELECT 1024, number AS k FROM system.numbers GROUP BY JSON, toNullable(toLowCardinality(1)), t__fuzz_2 LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toInt256(65535), b FROM (SELECT 1024, number AS k FROM system.numbers GROUP BY JSON, toNullable(toLowCardinality(1)), t__fuzz_2 LIMIT 1023) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT 1024, number AS k FROM system.numbers GROUP BY JSON, toNullable(toLowCardinality(1)), t__fuzz_2 LIMIT 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 881 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 1023 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 882 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 7 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -0., 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 SELECT 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 7 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 SELECT toLowCardinality(65537), 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 7 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 SELECT 65537, 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers PREWHERE 76 LIMIT 7 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537, 65535, b FROM (SELECT 1024, number AS k FROM system.numbers PREWHERE 76 LIMIT 7) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT 65537, 65535, b FROM (SELECT 1024, number AS k FROM system.numbers PREWHERE 76 LIMIT 7) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 886 out of 1000 SELECT toLowCardinality(65537), 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 SELECT toLowCardinality(65537), 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., '-0.0000000002' ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537), 65535, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., '-0.0000000002') USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '-0.0000000002'. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., '-0.0000000002'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 888 out of 1000 SELECT toLowCardinality(65537), 65535, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT toLowCardinality(65537), 65535, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT toLowCardinality(65537), 65535, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 889 out of 1000 SELECT toLowCardinality(65537), 65535, toInt128(1), b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT toLowCardinality(65537), 65535, toInt128(1), b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT 65537, 65535, toInt128(1), b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 SELECT 65537, 65535, toInt128(1), b FROM ( SELECT toLowCardinality(toNullable(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 SELECT 65537, 65535, toInt128(1), b FROM ( SELECT toLowCardinality(toNullable(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 894 out of 1000 SELECT 65537, 65535, toInt128(1), b FROM ( SELECT toLowCardinality(toNullable(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10000000000., 7 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, toInt128(1), b FROM (SELECT toLowCardinality(toNullable(1024)), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10000000000., 7) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00012754 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 895 out of 1000 SELECT 65537, 65535, toInt128(1), b FROM ( SELECT toLowCardinality(toNullable(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100.0001, 7 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537, 65535, toInt128(1), b FROM (SELECT toLowCardinality(toNullable(1024)), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 100.0001, 7) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 896 out of 1000 SELECT 65537, 65535, toInt128(1), b FROM ( SELECT toNullable(1024), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 SELECT 65537, 65535, toInt128(1), b FROM ( SELECT toNullable(1024), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE 2147483646 ORDER BY k ASC Error on processing query 'SELECT 65537, 65535, toInt128(1), b FROM (SELECT toNullable(1024), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE 2147483646 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 898 out of 1000 SELECT 65537, 65535, toInt128(1), b FROM ( SELECT toNullable(1024), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 899 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), toInt128(1), b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), toInt128(1), b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT NULL ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537), toLowCardinality(65535), toInt128(1), b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT NULL) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT 1024, number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 901 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), toInt128(1), b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT -2147483648 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE t__fuzz_14 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(65537), toLowCardinality(65535), toInt128(1), b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT -2147483648) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE t__fuzz_14 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 902 out of 1000 SELECT t__fuzz_36, 65537, toLowCardinality(65535), toInt128(1), b FROM ( SELECT 1024, number AS k FROM system.numbers PREWHERE materialize(toNullable(1)) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT t__fuzz_36, 65537, toLowCardinality(65535), toInt128(1), b FROM (SELECT 1024, number AS k FROM system.numbers PREWHERE materialize(toNullable(1)) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT t__fuzz_36, 65537, toLowCardinality(65535), toInt128(1), b FROM (SELECT 1024, number AS k FROM system.numbers PREWHERE materialize(toNullable(1)) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 903 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), toInt128(1), b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) PREWHERE toString(number) GROUP BY t__fuzz_47, t__fuzz_11 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537), toLowCardinality(65535), toInt128(1), b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) PREWHERE toString(number) GROUP BY t__fuzz_47, t__fuzz_11 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT toLowCardinality(65537), toLowCardinality(65535), toInt128(1), b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) PREWHERE toString(number) GROUP BY t__fuzz_47, t__fuzz_11 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 904 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(toLowCardinality(65535)), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(toLowCardinality(65535)), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 2147483646 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537), toLowCardinality(toLowCardinality(65535)), 1, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 2147483646) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000926234 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 906 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 2147483646 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 2147483646) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002086488 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 908 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 909 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 910 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM ( SELECT toInt256(1024), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM ( SELECT toInt256(1024), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 912 out of 1000 SELECT 65537, toLowCardinality(65535), 1, b FROM ( SELECT toInt256(1024), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_32, k, toLowCardinality(toLowCardinality(1)) LIMIT 10000000000., 7 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, toLowCardinality(65535), 1, b FROM (SELECT toInt256(1024), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_32, k, toLowCardinality(toLowCardinality(1)) LIMIT 10000000000., 7) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_32, k, toLowCardinality(toLowCardinality(1)) LIMIT 10000000000., 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 913 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 9223372036854775806 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT toLowCardinality(65537), toLowCardinality(65535), 1, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 9223372036854775806) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.017527836 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 915 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(materialize(65535)), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(materialize(materialize(65535))), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(materialize(65535)), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1000.0001, 7 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537), toLowCardinality(materialize(65535)), 1, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1000.0001, 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 918 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(materialize(materialize(65535))), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(materialize(materialize(65535))), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE 9223372036854775806 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537), toLowCardinality(materialize(materialize(65535))), 1, b FROM (SELECT 1024, number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE 9223372036854775806 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 920 out of 1000 SELECT toLowCardinality(65537), materialize(materialize(65535)), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 SELECT toLowCardinality(65537), materialize(materialize(65535)), 1, b FROM ( SELECT 1024, number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 922 out of 1000 SELECT toLowCardinality(65537), materialize(65535), b FROM ( SELECT toLowCardinality(1024), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 SELECT toLowCardinality(65537), 65535, b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 924 out of 1000 SELECT 65537, 65535, b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 SELECT 65537, 65535, b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 SELECT 65537, 65535, b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT 65537, 65535, b FROM (SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 927 out of 1000 SELECT 65537, 65535, b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY 1023 ASC, k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) ORDER BY 1023 ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 1023 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 65535, b FROM (SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) ORDER BY 1023 ASC, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 928 out of 1000 SELECT 65537, 65535, b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 929 out of 1000 SELECT 65537, 65535, b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 930 out of 1000 SELECT 65537, 65535, b FROM ( SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT toLowCardinality(toLowCardinality(1024)), number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 7) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 931 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 933 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 934 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 935 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1025 ) USING (k) PREWHERE toLowCardinality(1) GROUP BY materialize(toNullable(1)), 1023, materialize(toNullable(1024)) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1025) USING (k) PREWHERE toLowCardinality(1) GROUP BY materialize(toNullable(1)), 1023, materialize(toNullable(1024)) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 1023 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 1025) USING (k) PREWHERE toLowCardinality(1) GROUP BY materialize(toNullable(1)), 1023, materialize(toNullable(1024)) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 936 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.0001, 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.0001, 7) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 937 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.0001, 7 ) USING (k) PREWHERE toLowCardinality(1) WHERE toLowCardinality(1) ORDER BY toLowCardinality(1) ASC, k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.0001, 7) USING (k) PREWHERE toLowCardinality(1) WHERE toLowCardinality(1) ORDER BY toLowCardinality(1) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 938 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 939 out of 1000 SELECT toInt256(65537), 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) GROUP BY t__fuzz_16, materialize(toNullable(1024)), 1024, toNullable(1) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT toInt256(65537), 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) GROUP BY t__fuzz_16, materialize(toNullable(1024)), 1024, toNullable(1) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 1024 is out of bounds. Expected in range [1, 3]. In scope SELECT toInt256(65537), 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) GROUP BY t__fuzz_16, materialize(toNullable(1024)), 1024, toNullable(1) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 940 out of 1000 SELECT 65537, 65535, b FROM ( SELECT materialize(1), number AS k FROM system.numbers WHERE toLowCardinality(toNullable(toNullable(65537))) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT materialize(1), number AS k FROM system.numbers WHERE toLowCardinality(toNullable(toNullable(65537))) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 941 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) PREWHERE toLowCardinality(t__fuzz_35, 1) GROUP BY toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), toInt256(65537), t__fuzz_35, t__fuzz_33, 76 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) PREWHERE toLowCardinality(t__fuzz_35, 1) GROUP BY toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), toInt256(65537), t__fuzz_35, t__fuzz_33, 76 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_35' in scope SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) PREWHERE toLowCardinality(t__fuzz_35, 1) GROUP BY toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), toInt256(65537), t__fuzz_35, t__fuzz_33, 76 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 942 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) ASC, k DESC NULLS LAST Got boring AST Fuzzing step 944 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 9223372036854775806 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 9223372036854775806) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000620609 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 945 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2147483646 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) ASC, k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 2147483646) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.003522516 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 946 out of 1000 SELECT toLowCardinality(65537), 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 SELECT toLowCardinality(65537), 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS LAST Got boring AST Fuzzing step 948 out of 1000 SELECT toLowCardinality(65537), 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) PREWHERE t__fuzz_44 WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100) USING (k) PREWHERE t__fuzz_44 WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100) USING (k) PREWHERE t__fuzz_44 WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 951 out of 1000 SELECT toInt128(65537), 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 952 out of 1000 SELECT toInt128(t__fuzz_1, 65537), b FROM ( SELECT number AS k FROM system.numbers PREWHERE t__fuzz_14 LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, materialize(toNullable(65537)) ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT toInt128(t__fuzz_1, 65537), b FROM (SELECT number AS k FROM system.numbers PREWHERE t__fuzz_14 LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, materialize(toNullable(65537)) ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_14' in scope SELECT number AS k FROM system.numbers PREWHERE t__fuzz_14 LIMIT 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 953 out of 1000 EXPLAIN PIPELINE SELECT toInt128(65537), 65535, b FROM ( SELECT number AS k FROM system.numbers GROUP BY 1024, materialize(materialize(65535)), t__fuzz_29 LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT toInt128(65537), 65535, b FROM (SELECT number AS k FROM system.numbers GROUP BY 1024, materialize(materialize(65535)), t__fuzz_29 LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1024 is out of bounds. Expected in range [1, 1]. In scope SELECT number AS k FROM system.numbers GROUP BY 1024, materialize(materialize(65535)), t__fuzz_29 LIMIT 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 18. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 19. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 954 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.5, 1025 ) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0.5, 1025) USING (k) WHERE toLowCardinality(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 956 out of 1000 SELECT 65537, materialize(65535), b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 1024, t__fuzz_21, t__fuzz_20 LIMIT 0., 100 ) USING (k) WHERE toLowCardinality(1) ORDER BY k ASC Error on processing query 'SELECT 65537, materialize(65535), b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 1024, t__fuzz_21, t__fuzz_20 LIMIT 0., 100) USING (k) WHERE toLowCardinality(1) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 1024 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 1024, t__fuzz_21, t__fuzz_20 LIMIT 0., 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 957 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k ASC NULLS FIRST Got boring AST Fuzzing step 959 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT 1024, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_0 LIMIT 0., 100 ) USING (k) WHERE toNullable(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT 1024, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_0 LIMIT 0., 100) USING (k) WHERE toNullable(1) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_0' in scope SELECT 1024, number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_0 LIMIT 0., 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 961 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS LAST Got boring AST Fuzzing step 962 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 964 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k DESC Got boring AST Fuzzing step 970 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT t__fuzz_27, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k DESC Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT t__fuzz_27, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT t__fuzz_27, number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 971 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k DESC Got boring AST Fuzzing step 972 out of 1000 SELECT materialize(65537), 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 SELECT materialize(65537), 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 976 out of 1000 SELECT 65537, 65535, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) WHERE toLowCardinality(1) GROUP BY t__fuzz_39, Memory, toNullable(1), t__fuzz_9 ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, t__fuzz_14 ASC, k ASC Error on processing query 'SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100) USING (k) WHERE toLowCardinality(1) GROUP BY t__fuzz_39, Memory, toNullable(1), t__fuzz_9 ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, t__fuzz_14 ASC, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_39' in scope SELECT 65537, 65535, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100) USING (k) WHERE toLowCardinality(1) GROUP BY t__fuzz_39, Memory, toNullable(1), t__fuzz_9 ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, t__fuzz_14 ASC, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 977 out of 1000 SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers WHERE 2147483646 LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'SELECT 65537, b FROM (SELECT number AS k FROM system.numbers WHERE 2147483646 LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 979 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 981 out of 1000 EXPLAIN ESTIMATE SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN ESTIMATE SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001164f5ed 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158034e 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 982 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 983 out of 1000 EXPLAIN SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001164f5ed 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115801d9 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 984 out of 1000 EXPLAIN PIPELINE SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN PIPELINE SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001164f5ed 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158170e 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 985 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 986 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 987 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 988 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 989 out of 1000 EXPLAIN SYNTAX SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN SYNTAX SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).: While processing SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Interpreters/ExpressionAnalyzer.cpp:1969: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111bf01e 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001161e629 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:812: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011616850 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 13. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 16. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 19. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 20. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 21. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 Fuzzing step 990 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 991 out of 1000 EXPLAIN SYNTAX SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN SYNTAX SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).: While processing SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Interpreters/ExpressionAnalyzer.cpp:1969: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111bf01e 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001161e629 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:812: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011616850 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 13. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 16. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 19. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 20. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 21. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 23. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 24. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 Fuzzing step 992 out of 1000 EXPLAIN PIPELINE SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN PIPELINE SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001164f5ed 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158170e 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 993 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('65537'): 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCar. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 994 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 995 out of 1000 EXPLAIN AST SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 996 out of 1000 EXPLAIN QUERY TREE SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 EXPLAIN QUERY TREE SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 998 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65537'): 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCar. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 999 out of 1000 EXPLAIN QUERY TREE SELECT 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 0., 100 ) USING (k) ORDER BY toLowCardinality(toLowCardinality(1024)) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 2 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 3 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 4 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 5 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, -9223372036854775808 ) USING (k) ORDER BY t__fuzz_2 ASC, k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, -9223372036854775808) USING (k) ORDER BY t__fuzz_2 ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 6 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE b LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE b LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE b LIMIT 5, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x00000000110887ad 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 7 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 8 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 9 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 10 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 11 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 13 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 14 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 15 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 16 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 17 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 18 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 19 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 23 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 24 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 25 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 26 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 27 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 SELECT k, a, b FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 29 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY a ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 32 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY a ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 33 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY a DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(materialize(1), number) AS b FROM system.numbers WHERE toLowCardinality(toLowCardinality(1024)) LIMIT 10, 10 ) USING (k) PREWHERE 1025 ORDER BY a DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(materialize(1), number) AS b FROM system.numbers WHERE toLowCardinality(toLowCardinality(1024)) LIMIT 10, 10) USING (k) PREWHERE 1025 ORDER BY a DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(materialize(1), number) AS b FROM system.numbers WHERE toLowCardinality(toLowCardinality(1024)) LIMIT 10, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 35 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(1024) LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY a DESC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(1024) LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY a DESC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 36 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY a DESC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 37 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY a DESC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 38 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY a DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 2147483647 LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY a DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 2147483647 LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY a DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 40 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toString(number), t__fuzz_36 LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toString(number), t__fuzz_36 LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toString(number), t__fuzz_36 LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 42 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE materialize(65535) LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE materialize(65535) LIMIT 5, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 43 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 44 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 9223372036854775807 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 9223372036854775807) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 14.493326573 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 45 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 46 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 47 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 48 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 49 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025 ) USING (k) GROUP BY toNullable(toLowCardinality(toNullable(65537))) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) GROUP BY toNullable(toLowCardinality(toNullable(65537))) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1025) USING (k) GROUP BY toNullable(toLowCardinality(toNullable(65537))) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 50 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_13 LIMIT 5, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_13 LIMIT 5, 1025) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_13 LIMIT 5, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 51 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2147483648 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2147483648) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 11.806099012 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 52 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 54 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 56 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 57 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 58 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 59 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 61 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 62 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 63 out of 1000 SELECT k, t__fuzz_3, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, t__fuzz_3, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_3' in scope SELECT k, t__fuzz_3, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7) USING (k) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 64 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 65 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 66 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 67 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toLowCardinality(1024)) LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toLowCardinality(1024)) LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 70 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 71 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 73 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 74 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 75 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 77 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 7 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) PREWHERE 2147483647 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) PREWHERE 2147483647 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 80 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 81 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 82 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) PREWHERE Memory ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) PREWHERE Memory ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) PREWHERE Memory ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 83 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 86 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 87 out of 1000 SELECT k FROM ( SELECT number AS k, toString(toLowCardinality(toNullable(1024)), number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(toLowCardinality(toNullable(1024)), number) AS a FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(toNullable(1024)), number) AS a FROM system.numbers LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 88 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 89 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 90 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT k FROM ( SELECT number AS k, toString(t__fuzz_10, number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(t__fuzz_10, number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_10' in scope SELECT number AS k, toString(t__fuzz_10, number) AS a FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 92 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) GROUP BY toLowCardinality(materialize(materialize(65535))) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) GROUP BY toLowCardinality(materialize(materialize(65535))) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) GROUP BY toLowCardinality(materialize(materialize(65535))) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 93 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(7), number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) GROUP BY toNullable(1024), toLowCardinality(65535), toLowCardinality(toNullable(1048576)), toNullable(1024) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT toLowCardinality(7), number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) GROUP BY toNullable(1024), toLowCardinality(65535), toLowCardinality(toNullable(1048576)), toNullable(1024) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT toLowCardinality(7), number AS k, toString(number. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 95 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 96 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 1 LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 1 LIMIT 65535) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.11070627 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 97 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 98 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 99 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 100 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 102 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 103 out of 1000 SELECT k FROM ( SELECT number AS k, toString(t__fuzz_8, number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k FROM (SELECT number AS k, toString(t__fuzz_8, number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_8' in scope SELECT number AS k, toString(t__fuzz_8, number) AS a FROM system.numbers LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 104 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_35 LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_35 LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_35' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_35 LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 105 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 106 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 107 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 109 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 110 out of 1000 SELECT k FROM ( SELECT number AS k, toString(t__fuzz_31, number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(t__fuzz_31, number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_31' in scope SELECT number AS k, toString(t__fuzz_31, number) AS a FROM system.numbers LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 111 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 112 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 113 out of 1000 EXPLAIN PIPELINE SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 EXPLAIN PIPELINE SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 115 out of 1000 EXPLAIN QUERY TREE SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 EXPLAIN QUERY TREE SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 117 out of 1000 EXPLAIN QUERY TREE SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 118 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 120 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 121 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 122 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 123 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 124 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 125 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 126 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 127 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 128 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 129 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, -1 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, -1) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 130 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 131 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 132 out of 1000 EXPLAIN SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 EXPLAIN SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 134 out of 1000 EXPLAIN SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 135 out of 1000 EXPLAIN SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 136 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 138 out of 1000 EXPLAIN AST SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 139 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) PREWHERE 1 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) PREWHERE 1 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 141 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 9223372036854775806, t__fuzz_0, number ORDER BY k ASC Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 9223372036854775806, t__fuzz_0, number ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 9223372036854775806 is out of bounds. Expected in range [1, 1]. In scope SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 9223372036854775806, t__fuzz_0, number ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 142 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 143 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 144 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(1024), t__fuzz_2, 7, t__fuzz_39 LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(1024), t__fuzz_2, 7, t__fuzz_39 LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 7 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(1024), t__fuzz_2, 7, t__fuzz_39 LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 145 out of 1000 SELECT toNullable(toLowCardinality(toNullable(65537))), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 SELECT toLowCardinality(toNullable(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT toLowCardinality(toNullable(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 148 out of 1000 SELECT toLowCardinality(toNullable(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 149 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, NULL ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, NULL) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 151 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) WHERE toLowCardinality(materialize(materialize(65535))) ORDER BY k ASC Error on processing query 'EXPLAIN PIPELINE SELECT toLowCardinality(65537), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) WHERE toLowCardinality(materialize(materialize(65535))) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt16) of column toLowCardinality(materialize(materialize(65535_UInt16))) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001164f5ed 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158170e 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 152 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 154 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 155 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 156 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 157 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 158 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 159 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 160 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 162 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 163 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 164 out of 1000 EXPLAIN SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 EXPLAIN SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 166 out of 1000 EXPLAIN SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 167 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 169 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 170 out of 1000 EXPLAIN SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(65537), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(65537), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 172 out of 1000 EXPLAIN SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 173 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 175 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 176 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 177 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 179 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 180 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_40 LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(65537), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_40 LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_40' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_40 LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 182 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toNullable(1), k LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toNullable(1), k LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.484196635 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 183 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 2., 10 LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 2., 10 LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 10 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 2., 10 LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 185 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toLowCardinality(65537)) LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2147483646 ) USING (k) WHERE toInt128(1) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toLowCardinality(65537)) LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2147483646) USING (k) WHERE toInt128(1) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt32) of column materialize(_CAST(65537_LowCardinality(UInt32), 'LowCardinality(UInt32)'_String)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 188 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 190 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 191 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 192 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(1024)), toNullable(materialize(toNullable(65537))), t__fuzz_45 LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toInt256(65537), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(1024)), toNullable(materialize(toNullable(65537))), t__fuzz_45 LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(1024)), toNullable(materialize(toNullable(65537))), t__fuzz_45 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 195 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 196 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, t__fuzz_24, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toInt256(65537), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, t__fuzz_24, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_24' in scope SELECT number AS k, t__fuzz_24, toString(number) AS b FROM system.numbers LIMIT 7, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 197 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 198 out of 1000 EXPLAIN PIPELINE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 EXPLAIN PIPELINE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 200 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 202 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 203 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 204 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 205 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 206 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 207 out of 1000 EXPLAIN AST SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 210 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 211 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 212 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 213 out of 1000 SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) GROUP BY toNullable(-0.), t__fuzz_19, toLowCardinality(toNullable(0, 65537)) ORDER BY k ASC Error on processing query 'SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) GROUP BY toNullable(-0.), t__fuzz_19, toLowCardinality(toNullable(0, 65537)) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_19' in scope SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) GROUP BY toNullable(-0.), t__fuzz_19, toLowCardinality(toNullable(0, 65537)) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 214 out of 1000 EXPLAIN ESTIMATE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 216 out of 1000 EXPLAIN ESTIMATE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 217 out of 1000 EXPLAIN ESTIMATE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 218 out of 1000 EXPLAIN ESTIMATE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 219 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 EXPLAIN AST SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 EXPLAIN ESTIMATE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 EXPLAIN AST SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 EXPLAIN PIPELINE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 224 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 226 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 227 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 228 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 230 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 231 out of 1000 EXPLAIN PIPELINE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 EXPLAIN AST SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 234 out of 1000 EXPLAIN AST SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 235 out of 1000 EXPLAIN AST SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 236 out of 1000 EXPLAIN PIPELINE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 EXPLAIN PIPELINE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 238 out of 1000 EXPLAIN PIPELINE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 239 out of 1000 EXPLAIN PIPELINE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 240 out of 1000 EXPLAIN ESTIMATE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 EXPLAIN ESTIMATE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 242 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 243 out of 1000 EXPLAIN ESTIMATE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 244 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 246 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 247 out of 1000 EXPLAIN SYNTAX SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 248 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 249 out of 1000 EXPLAIN SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 251 out of 1000 EXPLAIN SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 252 out of 1000 EXPLAIN SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 253 out of 1000 EXPLAIN SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 254 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toInt256'): toInt256(toLowCardinality(65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k,. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 255 out of 1000 SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 257 out of 1000 SELECT toInt256(toLowCardinality(t__fuzz_6, 65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT toInt256(toLowCardinality(t__fuzz_6, 65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_6' in scope SELECT toInt256(toLowCardinality(t__fuzz_6, 65537)), k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 258 out of 1000 SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 259 out of 1000 SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 SELECT toInt256(toLowCardinality(65537)), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 262 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 264 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 265 out of 1000 SELECT toInt256(65537), k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 266 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 268 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 270 out of 1000 SELECT 65537, k FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 65537) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 65537, k FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 65537) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 271 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048577 ) USING (k) PREWHERE 65537 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 1048577) USING (k) PREWHERE 65537 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 272 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 273 out of 1000 SELECT 65537, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT -2147483648, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT -2147483648, 65537) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 276 out of 1000 SELECT 65537, k FROM ( SELECT materialize(materialize(65535)), toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) PREWHERE t__fuzz_6 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT materialize(materialize(65535)), toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 65537) USING (k) PREWHERE t__fuzz_6 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_6' in scope SELECT 65537, k FROM (SELECT materialize(materialize(65535)), toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 65537) USING (k) PREWHERE t__fuzz_6 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 277 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 SELECT 65537, k FROM ( SELECT toInt128(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT 65537, k FROM ( SELECT toInt128(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 257 ) USING (k) GROUP BY 2147483646, materialize(toNullable(1)), t__fuzz_8, toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))) ORDER BY k DESC Error on processing query 'SELECT 65537, k FROM (SELECT toInt128(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 257) USING (k) GROUP BY 2147483646, materialize(toNullable(1)), t__fuzz_8, toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 2]. In scope SELECT 65537, k FROM (SELECT toInt128(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 257) USING (k) GROUP BY 2147483646, materialize(toNullable(1)), t__fuzz_8, toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 280 out of 1000 SELECT 65537, k FROM ( SELECT toInt128(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toInt128(1), number AS k FROM system.numbers LIMIT 1023, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT 65537, k FROM ( SELECT toInt128(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toInt128(1), number AS k FROM system.numbers LIMIT 1023, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 282 out of 1000 SELECT toLowCardinality(toInt256(65537)), k FROM ( SELECT toInt128(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 257 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 SELECT toLowCardinality(toInt256(65537)), k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 257 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 257 ) USING (k) GROUP BY toNullable(toInt256(1)), t__fuzz_33 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(65537), k FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 257) USING (k) GROUP BY toNullable(toInt256(1)), t__fuzz_33 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_33' in scope SELECT toLowCardinality(65537), k FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 257) USING (k) GROUP BY toNullable(toInt256(1)), t__fuzz_33 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 285 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1023 ) USING (k) PREWHERE materialize(materialize(65535)) ORDER BY k DESC Error on processing query 'SELECT 65537, k FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1023) USING (k) PREWHERE materialize(materialize(65535)) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Subquery SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 289 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 292 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE number LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537, k FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE number LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1024, 1023) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x00000000110a591a 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3ab0 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 7. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 8. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 9. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 12. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 13. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 293 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537, k FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1024, 1023) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 294 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 295 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 EXPLAIN PIPELINE SELECT t__fuzz_6, materialize(t__fuzz_40, 65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775807 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT t__fuzz_6, materialize(t__fuzz_40, 65537) FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775807) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_6' in scope SELECT t__fuzz_6, materialize(t__fuzz_40, 65537) FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775807) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 14. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 15. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 299 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 300 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1048575 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT materialize(65537) FROM (SELECT 1, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1024, 1048575) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT materialize(65537) FROM (SELECT 1, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1024, 1048575) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 302 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 303 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, -9223372036854775807 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT materialize(65537) FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1024, -9223372036854775807) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 306 out of 1000 SELECT materialize(65537) FROM ( SELECT 1, number AS k, t__fuzz_29, toString(number) AS a FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT materialize(65537) FROM (SELECT 1, number AS k, t__fuzz_29, toString(number) AS a FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT 1, number AS k, t__fuzz_29, toString(number) AS a FROM system.numbers LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 307 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 309 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 310 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) GROUP BY toInt256(1024), materialize(toNullable(1)), toLowCardinality(65535) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023) USING (k) GROUP BY toInt256(1024), materialize(toNullable(1)), toLowCardinality(65535) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023) USING (k) GROUP BY toInt256(1024), materialize(toNullable(1)), toLowCardinality(65535) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 311 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers WHERE t__fuzz_46 LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers WHERE t__fuzz_46 LIMIT 1024, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT number, number AS k FROM system.numbers WHERE t__fuzz_46 LIMIT 1024, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 312 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 313 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 314 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 316 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_0 LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_0 LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_0' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_0 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 317 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(65535) LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 1023 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(65535) LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65536, 1023) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 323 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 326 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775807 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775807) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 2, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 327 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE JSON LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE JSON LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 2, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE JSON LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 328 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT -2147483648, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT -2147483648, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 329 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 2, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 330 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(t__fuzz_13, number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(t__fuzz_13, number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 2, 1023) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_13' in scope SELECT 1, number AS k, toString(t__fuzz_13, number) AS a FROM system.numbers LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 331 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers GROUP BY 1048576, materialize(1024), t__fuzz_45 LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers GROUP BY 1048576, materialize(1024), t__fuzz_45 LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 1048576 is out of bounds. Expected in range [1, 3]. In scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers GROUP BY 1048576, materialize(1024), t__fuzz_45 LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 332 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 334 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 9223372036854775807, 1023 ) USING (k) GROUP BY 65536, 3, toLowCardinality(65535), t__fuzz_23, materialize(toNullable(65537)) ORDER BY k DESC Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 9223372036854775807, 1023) USING (k) GROUP BY 65536, 3, toLowCardinality(65535), t__fuzz_23, materialize(toNullable(65537)) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Positional argument number 65536 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 9223372036854775807, 1023) USING (k) GROUP BY 65536, 3, toLowCardinality(65535), t__fuzz_23, materialize(toNullable(65537)) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 337 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT -2147483649, 2147483647 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT -2147483649, 2147483647) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 338 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 340 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 341 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE number LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE number LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 2, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt64 of column __table2.number for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 342 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT -2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT -2, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 343 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -1) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 2, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 344 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, 7, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, 7, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 346 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, 7, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 347 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 349 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 351 out of 1000 SELECT t__fuzz_2, 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT t__fuzz_2, 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT t__fuzz_2, 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 352 out of 1000 SELECT 65537 FROM ( SELECT t__fuzz_43, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT t__fuzz_43, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_43' in scope SELECT t__fuzz_43, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 353 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -2 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, -9223372036854775808 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -2) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, -9223372036854775808) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 354 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 355 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 357 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 358 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 SELECT t__fuzz_30, 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT t__fuzz_30, 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT t__fuzz_30, 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 362 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers WHERE t__fuzz_24 LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers WHERE t__fuzz_24 LIMIT 65535, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_24' in scope SELECT number, number AS k FROM system.numbers WHERE t__fuzz_24 LIMIT 65535, 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 363 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 364 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) WHERE 2147483646 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) WHERE 2147483646 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 365 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 366 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 367 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 2147483648 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 2147483648) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 14.786369509 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 368 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers PREWHERE 1025 LIMIT 1048577, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers PREWHERE 1025 LIMIT 1048577, 65535) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 369 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY 1023 ASC, k ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY 1023 ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1023 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY 1023 ASC, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 370 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 373 out of 1000 SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 376 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 377 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 378 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537 FROM (SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('65537'): 65537 FROM (SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 104. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 379 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 380 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 381 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 382 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 383 out of 1000 EXPLAIN SYNTAX SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 EXPLAIN SYNTAX SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 385 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537 FROM (SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 45 ('65537'): 65537 FROM (SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 104. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 386 out of 1000 EXPLAIN ESTIMATE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 EXPLAIN ESTIMATE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 388 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537 FROM (SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('65537'): 65537 FROM (SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 104. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 389 out of 1000 EXPLAIN ESTIMATE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 390 out of 1000 EXPLAIN ESTIMATE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 391 out of 1000 EXPLAIN ESTIMATE SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 392 out of 1000 EXPLAIN AST SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN AST SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 394 out of 1000 EXPLAIN SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 EXPLAIN SELECT 65537 FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 396 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1048575, 65535 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65537, 65535 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT -2147483647, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT -2147483647, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 399 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65537, -2147483649 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT 1, number AS k FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65537, -2147483649) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 400 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65537, 65535 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65537, 65535 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 1, 65535 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT 65537 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 406 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers WHERE t__fuzz_3 LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers WHERE t__fuzz_3 LIMIT 257) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_3' in scope SELECT toString(number), 1, number AS k FROM system.numbers WHERE t__fuzz_3 LIMIT 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 408 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 410 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) GROUP BY materialize(toInt256(1023)) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) GROUP BY materialize(toInt256(1023)) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535) USING (k) GROUP BY materialize(toInt256(1023)) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 411 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 413 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 414 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 416 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65535, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 417 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 421 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 422 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers WHERE t__fuzz_1 LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers WHERE t__fuzz_1 LIMIT 65536, 65535) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_1' in scope SELECT number, number AS k FROM system.numbers WHERE t__fuzz_1 LIMIT 65536, 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 424 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 426 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT NULL ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT NULL) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT toString(number), 1, number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 427 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 428 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1025, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1025, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_5' in scope SELECT number, number AS k FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1025, 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 432 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, NULL ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65536, NULL) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number, number AS k FROM system.numbers LIMIT 65536, NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 434 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers PREWHERE 9223372036854775806 LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers PREWHERE 9223372036854775806 LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 435 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 436 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 437 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 438 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(toInt128(1))), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers WHERE t__fuzz_27 LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers WHERE t__fuzz_27 LIMIT 65536, 65535) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT number, number AS k FROM system.numbers WHERE t__fuzz_27 LIMIT 65536, 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 440 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 442 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT NULL ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT NULL) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 443 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 445 out of 1000 SELECT t__fuzz_27, 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT t__fuzz_27, 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT t__fuzz_27, 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 446 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toLowCardinality(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers GROUP BY t__fuzz_0, t__fuzz_2 LIMIT 3, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), toLowCardinality(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers GROUP BY t__fuzz_0, t__fuzz_2 LIMIT 3, 65535) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_0' in scope SELECT number, number AS k FROM system.numbers GROUP BY t__fuzz_0, t__fuzz_2 LIMIT 3, 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 447 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 448 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) PREWHERE materialize(65537) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) PREWHERE materialize(65537) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 449 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 452 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, t__fuzz_44, number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), 1, t__fuzz_44, number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT toString(number), 1, t__fuzz_44, number AS k FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 453 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT -2147483648 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT -2147483648) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) GROUP BY t__fuzz_36, toNullable(materialize(toNullable(65537))), materialize(toNullable(1024)), 2., 5 ORDER BY 1048575 ASC, k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) GROUP BY t__fuzz_36, toNullable(materialize(toNullable(65537))), materialize(toNullable(1024)), 2., 5 ORDER BY 1048575 ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 5 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) GROUP BY t__fuzz_36, toNullable(materialize(toNullable(65537))), materialize(toNullable(1024)), 2., 5 ORDER BY 1048575 ASC, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 455 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toLowCardinality(65535), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 2147483647 ) USING (k) PREWHERE toLowCardinality(toLowCardinality(65535)) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), toLowCardinality(65535), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 2147483647) USING (k) PREWHERE toLowCardinality(toLowCardinality(65535)) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT toString(number), toLowCardinality(65535), number AS k FROM system.numbers LIMIT 10 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 456 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 457 out of 1000 SELECT toNullable(65537) FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 SELECT toNullable(65537) FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 459 out of 1000 SELECT toNullable(65537) FROM ( SELECT toString(t__fuzz_36, number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toNullable(65537) FROM (SELECT toString(t__fuzz_36, number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_36' in scope SELECT toString(t__fuzz_36, number), materialize(1), number AS k FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 460 out of 1000 SELECT toNullable(65537) FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers PREWHERE toNullable(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toNullable(65537) FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers PREWHERE toNullable(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 461 out of 1000 SELECT toNullable(65537) FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 9223372036854775807, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toNullable(65537) FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 9223372036854775807, 1048575) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000143262 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 462 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers PREWHERE t__fuzz_23 LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers PREWHERE t__fuzz_23 LIMIT 1) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 3, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_23' in scope SELECT toString(number), materialize(1), number AS k FROM system.numbers PREWHERE t__fuzz_23 LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 464 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 465 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 466 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 3, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers WHERE t__fuzz_30 LIMIT 65536, 65535 ) USING (k) GROUP BY t__fuzz_43 ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers WHERE t__fuzz_30 LIMIT 65536, 65535) USING (k) GROUP BY t__fuzz_43 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT number, number AS k FROM system.numbers WHERE t__fuzz_30 LIMIT 65536, 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 469 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) GROUP BY 1048575 ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535) USING (k) GROUP BY 1048575 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 1048575 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 FROM (SELECT toString(number), materialize(1), number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number, number AS k FROM system.numbers LIMIT 65536, 65535) USING (k) GROUP BY 1048575 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 471 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 473 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number, number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 476 out of 1000 SELECT 2., 65537 FROM ( SELECT toString(number), materialize(number, 1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 2., 65537 FROM (SELECT toString(number), materialize(number, 1), number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 65536, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toString(number), materialize(number, 1), number AS k FROM system.numbers LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 477 out of 1000 SELECT 65537 FROM ( SELECT toString(number), materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 478 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 480 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers GROUP BY t__fuzz_33, t__fuzz_36, materialize(materialize(65535)) LIMIT 65536, 10 ) USING (k) GROUP BY 1048576 ORDER BY k DESC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers GROUP BY t__fuzz_33, t__fuzz_36, materialize(materialize(65535)) LIMIT 65536, 10) USING (k) GROUP BY 1048576 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_33' in scope SELECT number AS k FROM system.numbers GROUP BY t__fuzz_33, t__fuzz_36, materialize(materialize(65535)) LIMIT 65536, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 481 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 10 ) USING (k) GROUP BY materialize(toString(number), toInt256(1)), 65536, 2. ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), toNullable(1), number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483647, 10) USING (k) GROUP BY materialize(toString(number), toInt256(1)), 65536, 2. ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65536 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 FROM (SELECT toString(number), toNullable(1), number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483647, 10) USING (k) GROUP BY materialize(toString(number), toInt256(1)), 65536, 2. ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 482 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(1), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 SELECT toNullable(toInt256(65537)) FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers WHERE toLowCardinality(toLowCardinality(1024)) LIMIT 65536, 1048577 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT toNullable(toInt256(65537)) FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers WHERE toLowCardinality(toLowCardinality(1024)) LIMIT 65536, 1048577) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 484 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN PIPELINE SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 486 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65536, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 488 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 490 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT -2147483647 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT -2147483647) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 100, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 491 out of 1000 SELECT 65537 FROM ( SELECT toString(number), 1, number AS k FROM system.numbers LIMIT -1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), 1, number AS k FROM system.numbers LIMIT -1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 100, 65535) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 492 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(toInt256(1)), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(toInt256(1)), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 494 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(toInt256(1)), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(toInt256(1)), number AS k FROM system.numbers WHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), toNullable(toInt256(1)), number AS k FROM system.numbers WHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 100, 65535) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 496 out of 1000 SELECT 65537 FROM ( SELECT toString(number), toNullable(toInt256(1)), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 497 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT -2147483648 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 65535 ) USING (k) GROUP BY t__fuzz_29, 1 ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT -2147483648) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 100, 65535) USING (k) GROUP BY t__fuzz_29, 1 ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 499 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 500 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 501 out of 1000 SELECT 65537 FROM ( SELECT toString(number), t__fuzz_37, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), t__fuzz_37, number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 100, 1048576) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT toString(number), t__fuzz_37, number AS k FROM system.numbers LIMIT 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 502 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 503 out of 1000 SELECT 65537 FROM ( SELECT t__fuzz_36, toString(number), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 100, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT t__fuzz_36, toString(number), number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 100, 1048576) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT t__fuzz_36, toString(number), number AS k FROM system.numbers LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 504 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 507 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers PREWHERE 1023 LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers PREWHERE 1023 LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 508 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 9223372036854775807, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 9223372036854775807, 1048576) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000099332 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 509 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT toLowCardinality(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(65537), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 511 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 512 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) PREWHERE toString(number) ORDER BY k DESC Error on processing query 'SELECT toNullable(65537), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) PREWHERE toString(number) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT toNullable(65537), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) PREWHERE toString(number) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 513 out of 1000 SELECT toLowCardinality(65537), t, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers WHERE materialize(toNullable(materialize(toLowCardinality(toInt256(1))))) LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537), t, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers WHERE materialize(toNullable(materialize(toLowCardinality(toInt256(1))))) LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT toLowCardinality(65537), t, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers WHERE materialize(toNullable(materialize(toLowCardinality(toInt256(1))))) LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 514 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 516 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 517 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 518 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 519 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT numbe. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 521 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 522 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 523 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 524 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 525 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 527 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 530 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 531 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 532 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 533 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 EXPLAIN AST SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 EXPLAIN AST SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 536 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 538 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT numbe. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 539 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 540 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 542 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 544 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 545 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 547 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT numbe. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 548 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 550 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT numbe. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 551 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT toLowCardinality(1024, toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1024, toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(1024, toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 553 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 554 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 555 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT numbe. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 556 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 558 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 559 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 560 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 561 out of 1000 EXPLAIN SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 562 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) GROUP BY toNullable(1024), t__fuzz_10, 2. ORDER BY k ASC Error on processing query 'SELECT toNullable(65537), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) GROUP BY toNullable(1024), t__fuzz_10, 2. ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_10' in scope SELECT toNullable(65537), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) GROUP BY toNullable(1024), t__fuzz_10, 2. ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 565 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 567 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 569 out of 1000 SELECT toLowCardinality(toNullable(toInt128(65537))), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT NULL, 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(toNullable(toInt128(65537))), 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT NULL, 1048576) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k FROM system.numbers LIMIT NULL, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 570 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 571 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 572 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number) FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number) FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT toLowCardinality(toNullable(65537)), 65537 FROM (SELECT toString(number) FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 573 out of 1000 SELECT toLowCardinality(toNullable(65537)), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 574 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 1048576 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 577 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 578 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 579 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 580 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 581 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 SELECT toNullable(65537), 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 SELECT toNullable(65537), toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT -9223372036854775808, 1048576 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT -9223372036854775808, 1048576) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 587 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 SELECT 65537, toLowCardinality(toNullable(t__fuzz_7, 65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, toLowCardinality(toNullable(t__fuzz_7, 65537)) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 1048576) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_7' in scope SELECT 65537, toLowCardinality(toNullable(t__fuzz_7, 65537)) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 1048576) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 589 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers PREWHERE toLowCardinality(1024) LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, toLowCardinality(toNullable(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers PREWHERE toLowCardinality(1024) LIMIT 1023, 1048576) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 590 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 591 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 592 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 593 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers PREWHERE t__fuzz_46 LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, toLowCardinality(toNullable(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers PREWHERE t__fuzz_46 LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 1048576) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT toString(number), number AS k FROM system.numbers PREWHERE t__fuzz_46 LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 594 out of 1000 EXPLAIN indexes = true SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers PREWHERE t__fuzz_31 LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN indexes = true SELECT 65537, toLowCardinality(toNullable(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers PREWHERE t__fuzz_31 LIMIT 2147483646, 1048576) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "indexes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 595 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT -2147483647, 1048576 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, toLowCardinality(toNullable(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT -2147483647, 1048576) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 596 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT -2147483649, 1048576 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537, toLowCardinality(toNullable(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT -2147483649, 1048576) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 597 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers GROUP BY b, 10, toLowCardinality(toNullable(65536)), t__fuzz_9 LIMIT 9223372036854775807 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, toLowCardinality(toNullable(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers GROUP BY b, 10, toLowCardinality(toNullable(65536)), t__fuzz_9 LIMIT 9223372036854775807) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 1048576) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Positional argument number 10 is out of bounds. Expected in range [1, 2]. In scope SELECT toString(number), number AS k FROM system.numbers GROUP BY b, 10, toLowCardinality(toNullable(65536)), t__fuzz_9 LIMIT 9223372036854775807. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 598 out of 1000 SELECT 65537, toLowCardinality(toNullable(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, -9223372036854775807 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, toLowCardinality(toNullable(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, -9223372036854775807) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 599 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(1024, number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) PREWHERE t__fuzz_36 ORDER BY k DESC Error on processing query 'SELECT 65537, toNullable(65537) FROM (SELECT toString(1024, number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 1048576) USING (k) PREWHERE t__fuzz_36 ORDER BY k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT toString(1024, number), number AS k FROM system.numbers LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 601 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 602 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 604 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_10 LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) PREWHERE materialize(toLowCardinality(1)) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, toNullable(65537) FROM (SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_10 LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576) USING (k) PREWHERE materialize(toLowCardinality(1)) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_10' in scope SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_10 LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 606 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 607 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 608 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers GROUP BY t__fuzz_40 LIMIT 1023, 1048576 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537, toNullable(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers GROUP BY t__fuzz_40 LIMIT 1023, 1048576) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_40' in scope SELECT 1, number AS k FROM system.numbers GROUP BY t__fuzz_40 LIMIT 1023, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 609 out of 1000 SELECT 65537, toNullable(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 610 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 612 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 613 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(65536, number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576 ) USING (k) WHERE t__fuzz_35 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(65536, number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 1048576) USING (k) WHERE t__fuzz_35 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT toString(65536, number), number AS k FROM system.numbers LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 614 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 2147483648 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 2147483648) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.656210099 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 616 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 SELECT 65537, 65537 FROM ( SELECT t__fuzz_34, toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(1) FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT t__fuzz_34, toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT toLowCardinality(1) FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_34' in scope SELECT t__fuzz_34, toString(number), number AS k FROM system.numbers LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 618 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 619 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 EXPLAIN PIPELINE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 EXPLAIN AST SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 EXPLAIN AST SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 624 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('65537'): 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbe. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 625 out of 1000 EXPLAIN AST SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 626 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 628 out of 1000 EXPLAIN PIPELINE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 EXPLAIN SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('65537'): 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbe. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 631 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('65537'): 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbe. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 632 out of 1000 EXPLAIN SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 633 out of 1000 EXPLAIN SYNTAX SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 EXPLAIN SYNTAX SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 635 out of 1000 EXPLAIN SYNTAX SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 636 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 638 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 EXPLAIN PIPELINE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 EXPLAIN PIPELINE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 641 out of 1000 EXPLAIN PIPELINE SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 642 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 644 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 645 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT -2 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT -2) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 646 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 647 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(t, number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(t, number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't' in scope SELECT toString(t, number), number AS k FROM system.numbers LIMIT 1025. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 648 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY t__fuzz_46 ASC, k ASC Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY t__fuzz_46 ASC, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_46' in scope SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY t__fuzz_46 ASC, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 649 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, -2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, -2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 651 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 SELECT 65537, toLowCardinality(materialize(65537)) FROM ( SELECT toString(number) FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, toLowCardinality(materialize(65537)) FROM (SELECT toString(number) FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 65537, toLowCardinality(materialize(65537)) FROM (SELECT toString(number) FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 653 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(1)) LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537, toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(1)) LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT toString(number), number AS k FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(1)) LIMIT 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 8. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 9. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 654 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 655 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 656 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 657 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 658 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 659 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, -9223372036854775808 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537, toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, -9223372036854775808) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 660 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 65537, toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 661 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 663 out of 1000 SELECT toInt256(65537), toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1023, 7 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 SELECT toInt256(65537), toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 7 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 SELECT toInt256(65537), toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers PREWHERE toNullable(1) LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 7 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT toInt256(65537), toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers PREWHERE toNullable(1) LIMIT 1025) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1025, 7) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 666 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 668 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 669 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 670 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 SELECT 65537, toLowCardinality(toLowCardinality(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 1025 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 SELECT 65537, toLowCardinality(toLowCardinality(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 SELECT 65537, toLowCardinality(t__fuzz_22, 65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537, toLowCardinality(t__fuzz_22, 65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_22' in scope SELECT 65537, toLowCardinality(t__fuzz_22, 65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 674 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 676 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 678 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 679 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number) FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number) FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 2, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 65537, 65537 FROM (SELECT toString(number) FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 2, 10) USING (k) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 681 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 685 out of 1000 SELECT t__fuzz_33, 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2147483647 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT -2, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT t__fuzz_33, 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2147483647) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT -2, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 686 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 2, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 687 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT NULL, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT NULL, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT 1, number AS k FROM system.numbers LIMIT NULL, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 688 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2147483648 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2147483648) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.006165428 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 690 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers PREWHERE materialize(1024) LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers PREWHERE materialize(1024) LIMIT 255) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers LIMIT 1025, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 691 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 693 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 694 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(7, number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(7, number), number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT toString(7, number), number AS k FROM system.numbers LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 695 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 696 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 9223372036854775806, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 9223372036854775806, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000122463 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 697 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number) FROM system.numbers LIMIT NULL ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number) FROM system.numbers LIMIT NULL) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT toString(number) FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 698 out of 1000 SELECT 65537, 65537 FROM ( SELECT 10, toString(number) FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT 10, toString(number) FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 65537, 65537 FROM (SELECT 10, toString(number) FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10) USING (k) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 699 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 700 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 701 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 1025, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 703 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers PREWHERE t__fuzz_22 WHERE toLowCardinality(toLowCardinality(1)) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers PREWHERE t__fuzz_22 WHERE toLowCardinality(toLowCardinality(1)) LIMIT 65535, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k FROM system.numbers PREWHERE t__fuzz_22 WHERE toLowCardinality(toLowCardinality(1)) LIMIT 65535, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 704 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 705 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers GROUP BY 65537, toLowCardinality(toNullable(65537)) LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers GROUP BY 65537, toLowCardinality(toNullable(65537)) LIMIT 3) ANY FULL OUTER JOIN (SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toString(number), number AS k FROM system.numbers GROUP BY 65537, toLowCardinality(toNullable(65537)) LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 706 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT t__fuzz_23, 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT t__fuzz_23, 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_23' in scope SELECT t__fuzz_23, 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 707 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, toLowCardinality(65535), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, toLowCardinality(65535), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 710 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(1), 65535, number AS k FROM system.numbers PREWHERE t__fuzz_43 WHERE toLowCardinality(1) LIMIT NULL, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT toLowCardinality(1), 65535, number AS k FROM system.numbers PREWHERE t__fuzz_43 WHERE toLowCardinality(1) LIMIT NULL, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_43' in scope SELECT toLowCardinality(1), 65535, number AS k FROM system.numbers PREWHERE t__fuzz_43 WHERE toLowCardinality(1) LIMIT NULL, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 712 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers WHERE toLowCardinality(toInt128(1)) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers WHERE toLowCardinality(toInt128(1)) LIMIT 65535, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Int128 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 713 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 714 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, materialize(65535), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(1), materialize(65535), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 9223372036854775807, 10 ) USING (k) GROUP BY t__fuzz_28 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT toLowCardinality(1), materialize(65535), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 9223372036854775807, 10) USING (k) GROUP BY t__fuzz_28 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_28' in scope SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT toLowCardinality(1), materialize(65535), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 9223372036854775807, 10) USING (k) GROUP BY t__fuzz_28 ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 716 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers WHERE toLowCardinality(materialize(toNullable(1))) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_38 LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers WHERE toLowCardinality(materialize(1)) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_38 LIMIT 3) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers WHERE toLowCardinality(materialize(1)) LIMIT 65535, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_38' in scope SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_38 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 718 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers WHERE toLowCardinality(materialize(toNullable(1))) LIMIT 65535, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 719 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers GROUP BY t__fuzz_26, toNullable(toLowCardinality(toNullable(65537))), toNullable(1024), toNullable(1) LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers GROUP BY t__fuzz_26, toNullable(toLowCardinality(toNullable(65537))), toNullable(1024), toNullable(1) LIMIT 7, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_26' in scope SELECT 1, 65535, number AS k FROM system.numbers GROUP BY t__fuzz_26, toNullable(toLowCardinality(toNullable(65537))), toNullable(1024), toNullable(1) LIMIT 7, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 722 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, -2147483647 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, -2147483647) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 723 out of 1000 SELECT 65537, materialize(toInt256(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_2 LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, materialize(toInt256(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_2 LIMIT 256) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_2 LIMIT 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 724 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers PREWHERE t__fuzz_28 LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers PREWHERE t__fuzz_28 LIMIT 256) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_28' in scope SELECT toString(number), number AS k FROM system.numbers PREWHERE t__fuzz_28 LIMIT 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 725 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers WHERE t__fuzz_44 LIMIT 7, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers WHERE t__fuzz_44 LIMIT 7, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT 1, 65535, number AS k FROM system.numbers WHERE t__fuzz_44 LIMIT 7, 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 726 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers GROUP BY 1024, toNullable(materialize(toNullable(65537))) LIMIT 7, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537, 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers GROUP BY 1024, toNullable(materialize(toNullable(65537))) LIMIT 7, 1048575) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1024 is out of bounds. Expected in range [1, 3]. In scope SELECT 1, 65535, number AS k FROM system.numbers GROUP BY 1024, toNullable(materialize(toNullable(65537))) LIMIT 7, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 727 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 729 out of 1000 SELECT 65537, 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 730 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 731 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 7, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 733 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 735 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 736 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 738 out of 1000 SELECT 65537 FROM ( SELECT toString(number) FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 1024 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number) FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 1024) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 65537 FROM (SELECT toString(number) FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 1024) USING (k) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 739 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_33 LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) GROUP BY t__fuzz_16 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_33 LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10) USING (k) GROUP BY t__fuzz_16 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_33' in scope SELECT toString(number), number AS k FROM system.numbers WHERE t__fuzz_33 LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 740 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 9223372036854775807 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) WHERE toLowCardinality(materialize(65535)) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 9223372036854775807) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10) USING (k) WHERE toLowCardinality(materialize(65535)) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt16) of column toLowCardinality(materialize(65535_UInt16)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 19. ? @ 0x00007ffa70350ac3 20. ? @ 0x00007ffa703e2850 Fuzzing step 741 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT -2147483648 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT -2147483648) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 743 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 744 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 10 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY t__fuzz_29 ASC, k DESC Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0) USING (k) ORDER BY t__fuzz_29 ASC, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_29' in scope SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0) USING (k) ORDER BY t__fuzz_29 ASC, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 747 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) GROUP BY Memory ORDER BY k DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0) USING (k) GROUP BY Memory ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0) USING (k) GROUP BY Memory ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 748 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 749 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 750 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535 FROM system.numbers LIMIT 257, 0 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535 FROM system.numbers LIMIT 257, 0) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1, 65535 FROM system.numbers LIMIT 257, 0) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 752 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 257 ) USING (k) WHERE t__fuzz_41 ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 257) USING (k) WHERE t__fuzz_41 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 257) USING (k) WHERE t__fuzz_41 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 754 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 756 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 757 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 760 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 761 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 762 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 763 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 766 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 768 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 769 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 SELECT toLowCardinality(toInt128(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers WHERE 1048575 LIMIT 256, 0 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT toLowCardinality(toInt128(65537)) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers WHERE 1048575 LIMIT 256, 0) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 771 out of 1000 SELECT toLowCardinality(toLowCardinality(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 SELECT toLowCardinality(toLowCardinality(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 773 out of 1000 SELECT toLowCardinality(toLowCardinality(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 774 out of 1000 SELECT toLowCardinality(toLowCardinality(65537)) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 775 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 SELECT toString(number), toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, 7, number AS k FROM system.numbers LIMIT 2147483648, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT toString(number), toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, 7, number AS k FROM system.numbers LIMIT 2147483648, 3) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT toString(number), toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, 7, number AS k FROM system.numbers LIMIT 2147483648, 3) USING (k) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 777 out of 1000 SELECT 65537 FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) PREWHERE t__fuzz_19 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3) USING (k) PREWHERE t__fuzz_19 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_19' in scope SELECT 65537 FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3) USING (k) PREWHERE t__fuzz_19 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 778 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) GROUP BY b, number, JSON, 44 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3) USING (k) GROUP BY b, number, JSON, 44 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 44 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3) USING (k) GROUP BY b, number, JSON, 44 ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 779 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toString(number), number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, toNullable(toInt256(65535)), number AS k FROM system.numbers LIMIT 1023, 3 ) USING (k) WHERE 65536 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT toString(number), number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, toNullable(toInt256(65535)), number AS k FROM system.numbers LIMIT 1023, 3) USING (k) WHERE 65536 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 780 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers PREWHERE toNullable(materialize(toNullable(65537))) LIMIT 256, 3 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers PREWHERE toNullable(materialize(toNullable(65537))) LIMIT 256, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 783 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT -2147483649 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 65537 FROM (SELECT number AS k FROM system.numbers LIMIT -2147483649) ANY FULL OUTER JOIN (SELECT 1, 65535, number AS k FROM system.numbers LIMIT 256, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 785 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 1024, 3 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 1024, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 1024, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 788 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 1024, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 789 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 1024, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt128(1), 65535, number AS k FROM system.numbers LIMIT 1024, 3 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt128(1), 65535, number AS k FROM system.numbers LIMIT 1024, 3 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 EXPLAIN SYNTAX SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt128(1), 65535, number AS k FROM system.numbers LIMIT 1024, 3 ) USING (k) PREWHERE 44 WHERE toNullable(materialize(toNullable(1024)), 1) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN SYNTAX SELECT 65537 FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toInt128(1), 65535, number AS k FROM system.numbers LIMIT 1024, 3) USING (k) PREWHERE 44 WHERE toNullable(materialize(toNullable(1024)), 1) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: While processing 44 AND toNullable(materialize(toNullable(1024)), 1): While processing SELECT 65537 FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1024, 3) USING (k) PREWHERE 44 WHERE 44 AND toNullable(materialize(toNullable(1024)), 1) ORDER BY k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fc9ec4 9. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111d8a11 10. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e2f0f 11. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111dae6d 12. /build/src/Interpreters/ActionsVisitor.cpp:1243: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111db729 13. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111d0375 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, DB::ActionsDAG&, bool) @ 0x00000000111afb81 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x00000000111b968d 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1984: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x00000000111bf2c3 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1069: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001161e629 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:812: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011616850 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 20. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 22. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 23. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 24. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 28. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 793 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt128(toInt256(1)), 65535, number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt256(1), 65535, number AS k FROM system.numbers LIMIT 9223372036854775807, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toInt256(1), 65535, number AS k FROM system.numbers LIMIT 9223372036854775807, 1025) USING (k) WHERE toNullable(1) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000078716 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 795 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt128(toInt256(1)), 65535, number AS k FROM system.numbers PREWHERE toString(number) GROUP BY 2147483647, t__fuzz_29 LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toInt128(toInt256(1)), 65535, number AS k FROM system.numbers PREWHERE toString(number) GROUP BY 2147483647, t__fuzz_29 LIMIT 1024, 1025) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 2147483647 is out of bounds. Expected in range [1, 3]. In scope SELECT toInt128(toInt256(1)), 65535, number AS k FROM system.numbers PREWHERE toString(number) GROUP BY 2147483647, t__fuzz_29 LIMIT 1024, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 796 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt128(toInt256(1)), 65535, number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt128(toInt256(1)), 65535, number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 SELECT toInt256(65537), 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toInt128(1), 65535, number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 SELECT toInt256(65537), 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT toInt256(65537), 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1, 65535, number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 SELECT 65537, 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 SELECT 65537, 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT 65537, 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 804 out of 1000 SELECT toInt256(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 SELECT toInt256(65537) FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers GROUP BY 0, toNullable(1) LIMIT 1024, 1025 ) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT toInt256(65537) FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers GROUP BY 0, toNullable(1) LIMIT 1024, 1025) USING (k) WHERE toNullable(1) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 0 is out of bounds. Expected in range [1, 1]. In scope SELECT number AS k FROM system.numbers GROUP BY 0, toNullable(1) LIMIT 1024, 1025. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 806 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 1025 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 1023, number AS k FROM system.numbers LIMIT 1024, -2147483649 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), 65537 FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 1023, number AS k FROM system.numbers LIMIT 1024, -2147483649) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 811 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 812 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), materialize(toLowCardinality(toInt128(65537))) FROM ( SELECT number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), materialize(toLowCardinality(toInt128(65537))) FROM ( SELECT number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 SELECT toLowCardinality(toLowCardinality(toNullable(65537))), toLowCardinality(toInt128(65537)) FROM ( SELECT number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 815 out of 1000 SELECT toLowCardinality(toNullable(65537)), toLowCardinality(toInt128(65537)) FROM ( SELECT number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 SELECT toLowCardinality(toNullable(65537)), toLowCardinality(65537) FROM ( SELECT number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 SELECT toLowCardinality(toNullable(65537)), toLowCardinality(65537) FROM ( SELECT toNullable(materialize(toNullable(65537))), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65537) FROM ( SELECT toNullable(materialize(toNullable(65537))), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 SELECT toLowCardinality(65537), 65537 FROM ( SELECT toNullable(materialize(toNullable(65537))), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, -2147483647 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(65537), 65537 FROM (SELECT toNullable(materialize(toNullable(65537))), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1024, -2147483647) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 820 out of 1000 SELECT 65537, toLowCardinality(65537) FROM ( SELECT materialize(toNullable(65537)), number AS k FROM system.numbers WHERE toLowCardinality(toLowCardinality(toInt128(1))) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 65537, toLowCardinality(65537) FROM (SELECT materialize(toNullable(65537)), number AS k FROM system.numbers WHERE toLowCardinality(toLowCardinality(toInt128(1))) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1024, 65537) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Int128 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 821 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65537) FROM ( SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 SELECT toLowCardinality(65537), toLowCardinality(65537) FROM ( SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1024, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT NULL ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT NULL) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 3, 65537) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 825 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toNullable(65537), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 3, 65537 ) USING (k) WHERE t__fuzz_16 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT toNullable(65537), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 3, 65537) USING (k) WHERE t__fuzz_16 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_16' in scope SELECT toLowCardinality(65537) FROM (SELECT toNullable(65537), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 3, 65537) USING (k) WHERE t__fuzz_16 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 826 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 827 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 SELECT 65537 FROM ( SELECT toNullable(materialize(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 SELECT 65537 FROM ( SELECT toNullable(materialize(toInt128(65537))), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 SELECT toLowCardinality(toLowCardinality(65537)), 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(t__fuzz_37, 1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1023, 65537 ) USING (k) ORDER BY materialize(1) DESC Error on processing query 'SELECT toLowCardinality(toLowCardinality(65537)), 65537 FROM (SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(t__fuzz_37, 1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1023, 65537) USING (k) ORDER BY materialize(1) DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_37' in scope SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(t__fuzz_37, 1) LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 833 out of 1000 SELECT 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT NULL, 65537 ) USING (k) ORDER BY materialize(1) DESC Error on processing query 'SELECT 65537 FROM (SELECT toNullable(65537), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT NULL, 65537) USING (k) ORDER BY materialize(1) DESC': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k FROM system.numbers LIMIT NULL, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 834 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers GROUP BY t__fuzz_19, t__fuzz_11 LIMIT 255, 65537 ) USING (k) ORDER BY materialize(1) DESC Error on processing query 'SELECT 65537 FROM (SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers GROUP BY t__fuzz_19, t__fuzz_11 LIMIT 255, 65537) USING (k) ORDER BY materialize(1) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_19' in scope SELECT number AS k FROM system.numbers GROUP BY t__fuzz_19, t__fuzz_11 LIMIT 255, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 835 out of 1000 SELECT toLowCardinality(toInt256(65537)) FROM ( SELECT toInt128(65537), number AS k FROM system.numbers WHERE toLowCardinality(1024, 1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Error on processing query 'SELECT toLowCardinality(toInt256(65537)) FROM (SELECT toInt128(65537), number AS k FROM system.numbers WHERE toLowCardinality(1024, 1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 65537) USING (k) ORDER BY materialize(1) DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toInt128(65537), number AS k FROM system.numbers WHERE toLowCardinality(1024, 1) LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 836 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT t__fuzz_47, number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Error on processing query 'SELECT 65537 FROM (SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT t__fuzz_47, number AS k FROM system.numbers LIMIT 1048576, 65537) USING (k) ORDER BY materialize(1) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT t__fuzz_47, number AS k FROM system.numbers LIMIT 1048576, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 837 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Got boring AST Fuzzing step 838 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers WHERE toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Got boring AST Fuzzing step 839 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Query succeeded, using this AST as a start Fuzzing step 841 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Got boring AST Fuzzing step 842 out of 1000 SELECT 65537 FROM ( SELECT toInt256(1), toNullable(65537), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT -9223372036854775807, 65537 ) USING (k) ORDER BY materialize(1) DESC Error on processing query 'SELECT 65537 FROM (SELECT toInt256(1), toNullable(65537), number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT -9223372036854775807, 65537) USING (k) ORDER BY materialize(1) DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 843 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) DESC Got boring AST Fuzzing step 844 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 SELECT 65537 FROM ( SELECT toNullable(toInt128(65537)), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC Got boring AST Fuzzing step 847 out of 1000 SELECT toInt256(65537) FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC Query succeeded, using this AST as a start Fuzzing step 848 out of 1000 SELECT toInt256(65537) FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC Got boring AST Fuzzing step 849 out of 1000 SELECT toInt256(toInt256(65537)) FROM ( SELECT number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT NULL, 65537 ) USING (k) ORDER BY materialize(1) ASC Error on processing query 'SELECT toInt256(toInt256(65537)) FROM (SELECT number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT NULL, 65537) USING (k) ORDER BY materialize(1) ASC': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k FROM system.numbers LIMIT NULL, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 850 out of 1000 SELECT 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers WHERE materialize(toNullable(65537)) LIMIT 65537, 65537 ) USING (k) ORDER BY materialize(1) ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers WHERE materialize(toNullable(65537)) LIMIT 65537, 65537) USING (k) ORDER BY materialize(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column materialize(_CAST(65537_Nullable(UInt32), 'Nullable(UInt32)'_String)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 851 out of 1000 SELECT a, toInt256(65537) FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT -2147483649 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC NULLS FIRST Error on processing query 'SELECT a, toInt256(65537) FROM (SELECT toNullable(65537), number AS k FROM system.numbers LIMIT -2147483649) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 65537) USING (k) ORDER BY materialize(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 852 out of 1000 SELECT toInt256(65537) FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC Got boring AST Fuzzing step 853 out of 1000 SELECT 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 SELECT b, 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 65537 ) USING (k) ORDER BY materialize(1) ASC NULLS FIRST Error on processing query 'SELECT b, 65537 FROM (SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 65537) USING (k) ORDER BY materialize(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT b, 65537 FROM (SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048576, 65537) USING (k) ORDER BY materialize(1) ASC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 855 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 3 ) USING (k) ORDER BY materialize(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 3 ) USING (k) ORDER BY materialize(1) DESC NULLS FIRST Got boring AST Fuzzing step 857 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048576, 3 ) USING (k) ORDER BY materialize(1) DESC NULLS FIRST Got boring AST Fuzzing step 858 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 3 ) USING (k) ORDER BY materialize(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 3 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 3 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Got boring AST Fuzzing step 861 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT t__fuzz_43, number AS k FROM system.numbers LIMIT 100, 3 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT t__fuzz_43, number AS k FROM system.numbers LIMIT 100, 3) USING (k) ORDER BY materialize(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_43' in scope SELECT t__fuzz_43, number AS k FROM system.numbers LIMIT 100, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 862 out of 1000 SELECT t__fuzz_45, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 3 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Error on processing query 'SELECT t__fuzz_45, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 65537, 3) USING (k) ORDER BY materialize(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT t__fuzz_45, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 65537, 3) USING (k) ORDER BY materialize(1) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 863 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, -2147483648 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 65537, -2147483648) USING (k) ORDER BY materialize(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('65537'): 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 65537, -2147483648). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 865 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Got boring AST Fuzzing step 866 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) ASC NULLS LAST Got boring AST Fuzzing step 869 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT -2147483647, 65536 ) USING (k) ORDER BY materialize(1) ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT -2147483647, 65536) USING (k) ORDER BY materialize(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 870 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers WHERE t__fuzz_19 LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) ASC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers WHERE t__fuzz_19 LIMIT 65537, 65536) USING (k) ORDER BY materialize(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_19' in scope SELECT number AS k FROM system.numbers WHERE t__fuzz_19 LIMIT 65537, 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 871 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) ASC NULLS LAST Got boring AST Fuzzing step 872 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT -1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 65537, 65536 ) USING (k) PREWHERE 7 ORDER BY materialize(1) DESC NULLS LAST Error on processing query 'SELECT 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT -1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 65537, 65536) USING (k) PREWHERE 7 ORDER BY materialize(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 875 out of 1000 SELECT 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 65536 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT 65537, number AS k FROM system.numbers GROUP BY t__fuzz_1, t__fuzz_21, t__fuzz_1 LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY materialize(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537) FROM (SELECT 65537, number AS k FROM system.numbers GROUP BY t__fuzz_1, t__fuzz_21, t__fuzz_1 LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483647, 256) USING (k) ORDER BY materialize(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_1' in scope SELECT 65537, number AS k FROM system.numbers GROUP BY t__fuzz_1, t__fuzz_21, t__fuzz_1 LIMIT 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 878 out of 1000 SELECT toLowCardinality(65537) FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY materialize(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 SELECT 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 256 ) USING (k) GROUP BY t__fuzz_5, -0., toLowCardinality(1), t__fuzz_15, number ORDER BY materialize(1) ASC NULLS FIRST Error on processing query 'SELECT 65537 FROM (SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483647, 256) USING (k) GROUP BY t__fuzz_5, -0., toLowCardinality(1), t__fuzz_15, number ORDER BY materialize(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_5' in scope SELECT 65537 FROM (SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483647, 256) USING (k) GROUP BY t__fuzz_5, -0., toLowCardinality(1), t__fuzz_15, number ORDER BY materialize(1) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 880 out of 1000 SELECT toInt256(1), toLowCardinality(65537) FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 SELECT 1, toLowCardinality(65537) FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 SELECT 1, 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) DESC Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 SELECT 1, 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 884 out of 1000 SELECT 1, 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 0.5 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) DESC NULLS FIRST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 0.5) USING (k) ORDER BY toNullable(1) ASC, materialize(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 886 out of 1000 SELECT 1, 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) DESC NULLS FIRST Got boring AST Fuzzing step 887 out of 1000 SELECT 1, 65537 FROM ( SELECT toNullable(65537), number AS k FROM system.numbers WHERE materialize(toNullable(materialize(1024))) LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, -9223372036854775807 ) USING (k) ORDER BY toNullable(1) ASC NULLS FIRST, materialize(1) DESC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT toNullable(65537), number AS k FROM system.numbers WHERE materialize(toNullable(materialize(1024))) LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, -9223372036854775807) USING (k) ORDER BY toNullable(1) ASC NULLS FIRST, materialize(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 888 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, t__fuzz_31, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC, materialize(1) ASC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, t__fuzz_31, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) ORDER BY toNullable(1) ASC, materialize(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_31' in scope SELECT 65537, t__fuzz_31, number AS k FROM system.numbers LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 890 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) WHERE 0. ORDER BY toNullable(1) ASC, materialize(1) ASC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) WHERE 0. ORDER BY toNullable(1) ASC, materialize(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Float64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 891 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC, materialize(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC, materialize(1) ASC NULLS LAST Got boring AST Fuzzing step 893 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers PREWHERE toLowCardinality(7) LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) ASC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers PREWHERE toLowCardinality(7) LIMIT 7, 256) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 895 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 SELECT 1, 65537 FROM ( SELECT number AS k FROM system.numbers LIMIT -9223372036854775807 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST Error on processing query 'SELECT 1, 65537 FROM (SELECT number AS k FROM system.numbers LIMIT -9223372036854775807) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 897 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST Got boring AST Fuzzing step 898 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST Got boring AST Fuzzing step 899 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST Got boring AST Fuzzing step 900 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers GROUP BY number, 256, toNullable(toNullable(65537)), toString(number) LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers GROUP BY number, 256, toNullable(toNullable(65537)), toString(number) LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 256 is out of bounds. Expected in range [1, 2]. In scope SELECT 65537, number AS k FROM system.numbers GROUP BY number, 256, toNullable(toNullable(65537)), toString(number) LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 901 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) GROUP BY t__fuzz_11 ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) GROUP BY t__fuzz_11 ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) GROUP BY t__fuzz_11 ORDER BY toNullable(1) DESC NULLS FIRST, materialize(1) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 902 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, materialize(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 EXPLAIN PIPELINE header = true SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, materialize(1) DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE header = true SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, materialize(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 904 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, materialize(1) DESC NULLS FIRST Got boring AST Fuzzing step 905 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) PREWHERE 1025 ORDER BY toNullable(1) ASC NULLS LAST, materialize(1) DESC Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) PREWHERE 1025 ORDER BY toNullable(1) ASC NULLS LAST, materialize(1) DESC': Received from localhost:9000. DB::Exception: Subquery SELECT 65537, number AS k FROM system.numbers LIMIT 1 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 906 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST, materialize(1) DESC Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers WHERE JSON LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers WHERE JSON LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) ORDER BY toNullable(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT 65537, number AS k FROM system.numbers WHERE JSON LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 909 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) WHERE number ORDER BY toNullable(1) ASC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) WHERE number ORDER BY toNullable(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'number' in scope SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 256) USING (k) WHERE number ORDER BY toNullable(1) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 910 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) ORDER BY toNullable(1) ASC NULLS LAST Got boring AST Fuzzing step 911 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 256 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, -9223372036854775808 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, -9223372036854775808) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 913 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers GROUP BY t__fuzz_32, toNullable(materialize(65537)), toNullable(toLowCardinality(1)) LIMIT 1048575, 255 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toLowCardinality(toInt128(65537)) WITH CUBE ORDER BY toNullable(1) ASC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers GROUP BY t__fuzz_32, toNullable(materialize(65537)), toNullable(toLowCardinality(1)) LIMIT 1048575, 255) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toLowCardinality(toInt128(65537)) WITH CUBE ORDER BY toNullable(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT number AS k FROM system.numbers GROUP BY t__fuzz_32, toNullable(materialize(65537)), toNullable(toLowCardinality(1)) LIMIT 1048575, 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 915 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 255) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 255) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 916 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 255) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 255) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toLowCardinality(toInt128(65537)) ORDER BY toNullable(1) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 917 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers PREWHERE toInt256(65537) LIMIT 1048575, 255 ) USING (k) WITH TOTALS ORDER BY toNullable(1) ASC NULLS FIRST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers PREWHERE toInt256(65537) LIMIT 1048575, 255) USING (k) WITH TOTALS ORDER BY toNullable(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 918 out of 1000 EXPLAIN PIPELINE SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toLowCardinality(toInt128(toLowCardinality(toNullable(65537)))) ORDER BY toNullable(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toLowCardinality(toInt128(toLowCardinality(toNullable(65537)))) ORDER BY toNullable(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers WHERE materialize(1024) LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toLowCardinality(toLowCardinality(toNullable(65537))) ORDER BY toNullable(1) DESC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers WHERE materialize(1024) LIMIT 1048575, 255) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toLowCardinality(toLowCardinality(toNullable(65537))) ORDER BY toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column materialize(1024_UInt16) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 921 out of 1000 SELECT 1, 65537 FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers WHERE toNullable(materialize(toNullable(65537))) LIMIT 1048575, 255 ) USING (k) WITH TOTALS ORDER BY toNullable(1) DESC NULLS LAST Error on processing query 'SELECT 1, 65537 FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers WHERE toNullable(materialize(toNullable(65537))) LIMIT 1048575, 255) USING (k) WITH TOTALS ORDER BY toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 922 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toInt128(toLowCardinality(toNullable(65537))) ORDER BY toNullable(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toInt128(toLowCardinality(toNullable(65537))) ORDER BY toNullable(1) DESC NULLS LAST Error on processing query 'SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1048576) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 255) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toInt128(toLowCardinality(toNullable(65537))) ORDER BY toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_5' in scope SELECT 65537, number AS k FROM system.numbers PREWHERE t__fuzz_5 LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 924 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 255 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toNullable(65537)) WITH ROLLUP ORDER BY toNullable(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(toInt128(1)), toLowCardinality(65535), toLowCardinality(toNullable(65537)) WITH ROLLUP ORDER BY toNullable(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(toInt128(1)), toLowCardinality(65535), toLowCardinality(toNullable(65537)) WITH ROLLUP ORDER BY toNullable(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 927 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(toInt128(1)), toLowCardinality(65535), toLowCardinality(65537) WITH ROLLUP ORDER BY toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 928 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(toInt128(1)), toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY toNullable(1) ASC Error on processing query 'SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) GROUP BY materialize(toInt128(1)), toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY toNullable(1) ASC': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) GROUP BY materialize(toInt128(1)), toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY toNullable(1) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 929 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) WITH TOTALS ORDER BY toNullable(1) ASC Error on processing query 'SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) WITH TOTALS ORDER BY toNullable(1) ASC': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 930 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(toInt128(toLowCardinality(materialize(1)), 1)), 65535, 65537 WITH ROLLUP ORDER BY toNullable(1) DESC Error on processing query 'SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) GROUP BY materialize(toInt128(toLowCardinality(materialize(1)), 1)), 65535, 65537 WITH ROLLUP ORDER BY toNullable(1) DESC': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) GROUP BY materialize(toInt128(toLowCardinality(materialize(1)), 1)), 65535, 65537 WITH ROLLUP ORDER BY toNullable(1) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 931 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers PREWHERE t__fuzz_37 LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(toInt128(1)), toLowCardinality(65535), toLowCardinality(65537) WITH ROLLUP ORDER BY toNullable(1) DESC NULLS LAST Error on processing query 'SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers PREWHERE t__fuzz_37 LIMIT 1048575, 1023) USING (k) GROUP BY materialize(toInt128(1)), toLowCardinality(65535), toLowCardinality(65537) WITH ROLLUP ORDER BY toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT number AS k FROM system.numbers PREWHERE t__fuzz_37 LIMIT 1048575, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 932 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toNullable(toInt128(65537))) WITH ROLLUP ORDER BY toNullable(1) ASC Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 SELECT 1, materialize(toNullable(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toNullable(toInt128(65537))) WITH ROLLUP ORDER BY toNullable(1) ASC Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 SELECT 1, materialize(toNullable(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toNullable(toInt128(65537))) WITH ROLLUP ORDER BY toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 SELECT 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) WHERE toLowCardinality(toInt128(65537)) GROUP BY materialize(1), 65535, toLowCardinality(toNullable(toInt128(65537))) WITH ROLLUP ORDER BY toNullable(1) DESC Error on processing query 'SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) WHERE toLowCardinality(toInt128(65537)) GROUP BY materialize(1), 65535, toLowCardinality(toNullable(toInt128(65537))) WITH ROLLUP ORDER BY toNullable(1) DESC': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 2]. In scope SELECT 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) WHERE toLowCardinality(toInt128(65537)) GROUP BY materialize(1), 65535, toLowCardinality(toNullable(toInt128(65537))) WITH ROLLUP ORDER BY toNullable(1) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 936 out of 1000 SELECT 1, materialize(toNullable(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toInt128(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 SELECT 1, materialize(toNullable(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toInt128(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC Got boring AST Fuzzing step 938 out of 1000 SELECT 1, materialize(toNullable(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) WITH TOTALS ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC Error on processing query 'SELECT 1, materialize(toNullable(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) WITH TOTALS ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 939 out of 1000 SELECT 1, materialize(toNullable(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers GROUP BY t__fuzz_42, t__fuzz_33 LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toInt128(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC Error on processing query 'SELECT 1, materialize(toNullable(65537)) FROM (SELECT 65537, number AS k FROM system.numbers GROUP BY t__fuzz_42, t__fuzz_33 LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toInt128(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_42' in scope SELECT 65537, number AS k FROM system.numbers GROUP BY t__fuzz_42, t__fuzz_33 LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 940 out of 1000 SELECT 255, 1, materialize(toNullable(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toLowCardinality(toInt128(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 EXPLAIN PIPELINE header = true SELECT 255, 1, materialize(65537) FROM ( SELECT 65537, number AS k FROM system.numbers PREWHERE materialize(1) LIMIT -1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers GROUP BY materialize(1) LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT 255, 1, materialize(65537) FROM (SELECT 65537, number AS k FROM system.numbers PREWHERE materialize(1) LIMIT -1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers GROUP BY materialize(1) LIMIT 1048575, 1023) USING (k) GROUP BY materialize(1), 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 942 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY materialize(1), toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS FIRST, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, NULL ) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS FIRST Error on processing query 'SELECT 255, 1, toNullable(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, NULL) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k FROM system.numbers LIMIT 1048575, NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 945 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 10.0001 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS FIRST, toNullable(1) ASC Error on processing query 'SELECT 255, 1, toNullable(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 10.0001) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS FIRST, toNullable(1) ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 946 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT materialize(65537), number AS k FROM system.numbers LIMIT 100.0001 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC Error on processing query 'SELECT 255, 1, toNullable(65537) FROM (SELECT materialize(65537), number AS k FROM system.numbers LIMIT 100.0001) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1023) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 947 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS FIRST, toNullable(1) DESC Got boring AST Fuzzing step 948 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1023 ) USING (k) GROUP BY 1, toLowCardinality(toNullable(65535)), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 1048575 ) USING (k) GROUP BY 1, toNullable(65535), toInt128(toLowCardinality(toLowCardinality(toNullable(65537))), 65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Error on processing query 'SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1048575) USING (k) GROUP BY 1, toNullable(65535), toInt128(toLowCardinality(toLowCardinality(toNullable(65537))), 65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 1048575) USING (k) GROUP BY 1, toNullable(65535), toInt128(toLowCardinality(toLowCardinality(toNullable(65537))), 65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000071b9440 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 950 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 257, 1023 ) USING (k) GROUP BY 1, toLowCardinality(toNullable(65535)), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 257, 1023 ) USING (k) GROUP BY 1, toLowCardinality(toNullable(65535)), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Got boring AST Fuzzing step 952 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 257, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 2147483646 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 257, 1023 ) USING (k) GROUP BY 1, 65535, toInt128(materialize(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Error on processing query 'SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 2147483646) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 257, 1023) USING (k) GROUP BY 1, 65535, toInt128(materialize(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 3]. In scope SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 2147483646) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 257, 1023) USING (k) GROUP BY 1, 65535, toInt128(materialize(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 954 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 EXPLAIN AST optimize = true SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) ASC NULLS FIRST Error on processing query 'EXPLAIN AST optimize = true SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "optimize" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 956 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers PREWHERE toNullable(65535) LIMIT 2147483648, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC NULLS LAST Error on processing query 'SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers PREWHERE toNullable(65535) LIMIT 2147483648, 1023) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 957 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY 1, 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC Error on processing query 'SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023) USING (k) GROUP BY 1, 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 3]. In scope SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023) USING (k) GROUP BY 1, 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 959 out of 1000 SELECT 255, 1, toLowCardinality(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY 1, 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS LAST Error on processing query 'SELECT 255, 1, toLowCardinality(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023) USING (k) GROUP BY 1, 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 3]. In scope SELECT 255, 1, toLowCardinality(65537) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023) USING (k) GROUP BY 1, 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 960 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC Got boring AST Fuzzing step 961 out of 1000 SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC Error on processing query 'SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 3]. In scope SELECT 255, 1, toNullable(toLowCardinality(65537)) FROM (SELECT 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC NULLS LAST, toNullable(1) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 962 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY materialize(toLowCardinality(toNullable(1))), toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 2147483648, 1023 ) USING (k) GROUP BY materialize(toLowCardinality(toNullable(1))), toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 964 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023 ) USING (k) GROUP BY materialize(toLowCardinality(1)), toLowCardinality(65535), toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 SELECT materialize(toLowCardinality(1)), 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023 ) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Error on processing query 'SELECT materialize(toLowCardinality(1)), 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 4]. In scope SELECT materialize(toLowCardinality(1)), 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023) USING (k) GROUP BY materialize(toLowCardinality(1)), 65535, toInt128(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 966 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers WHERE t__fuzz_7 LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Error on processing query 'SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers WHERE t__fuzz_7 LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_7' in scope SELECT 1, 65537, number AS k FROM system.numbers WHERE t__fuzz_7 LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 968 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC Got boring AST Fuzzing step 969 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 SELECT materialize(255), 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers PREWHERE t__fuzz_20 WHERE 1025 LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers GROUP BY t__fuzz_21, toLowCardinality(toNullable(1)) LIMIT 65537, 1023 ) USING (k) GROUP BY toLowCardinality(toInt256(1)), toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS LAST Error on processing query 'SELECT materialize(255), 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers PREWHERE t__fuzz_20 WHERE 1025 LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers GROUP BY t__fuzz_21, toLowCardinality(toNullable(1)) LIMIT 65537, 1023) USING (k) GROUP BY toLowCardinality(toInt256(1)), toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_20' in scope SELECT 1, 65537, number AS k FROM system.numbers PREWHERE t__fuzz_20 WHERE 1025 LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 971 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, t__fuzz_12 ASC NULLS LAST, toNullable(1) DESC NULLS FIRST Error on processing query 'SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, t__fuzz_12 ASC NULLS LAST, toNullable(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, t__fuzz_12 ASC NULLS LAST, toNullable(1) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 972 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 65537, 1023 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt128(toInt256(65537)) WITH ROLLUP ORDER BY materialize(toNullable(65537)) DESC, toNullable(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537 FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(materialize(toNullable(65535))), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) ASC NULLS LAST Error on processing query 'SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537 FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(materialize(toNullable(65535))), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537 FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(materialize(toNullable(65535))), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 975 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, 65535, toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) ASC NULLS LAST Error on processing query 'SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, 65535, toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 3]. In scope SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, 65535, toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 976 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 EXPLAIN ESTIMATE SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, -2147483648 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(toNullable(65535)), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, -2147483648) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(toNullable(65535)), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 978 out of 1000 SELECT 255, 1, toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT -9223372036854775807, 10 ) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) ASC Error on processing query 'SELECT 255, 1, toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT -9223372036854775807, 10) USING (k) GROUP BY toLowCardinality(1), toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 979 out of 1000 SELECT 255, materialize(toInt128(1)), toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 SELECT 255, toInt128(1), toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) WHERE t__fuzz_21 GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS LAST Error on processing query 'SELECT 255, toInt128(1), toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) WHERE t__fuzz_21 GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_21' in scope SELECT 255, toInt128(1), toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) WHERE t__fuzz_21 GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 981 out of 1000 SELECT 255, materialize(toInt128(1)), toNullable(toNullable(toInt128(65537))) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 SELECT 255, materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC, toNullable(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 SELECT 255, materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 SELECT 255, materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) PREWHERE toLowCardinality(1) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS FIRST Error on processing query 'SELECT 255, materialize(toInt128(1)), toNullable(toInt128(65537)) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) PREWHERE toLowCardinality(1) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 3]. In scope SELECT 255, materialize(toInt128(1)), toNullable(toInt128(65537)) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) PREWHERE toLowCardinality(1) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 985 out of 1000 SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, 65535, 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS FIRST Error on processing query 'SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, 65535, 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 3]. In scope SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, 65535, 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 987 out of 1000 SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 SELECT materialize(255), materialize(toInt128(1)), toInt128(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers WHERE t__fuzz_16 LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 255, 257 ) USING (k) PREWHERE toLowCardinality(1) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS LAST Error on processing query 'SELECT materialize(255), materialize(toInt128(1)), toInt128(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers WHERE t__fuzz_16 LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 255, 257) USING (k) PREWHERE toLowCardinality(1) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_16' in scope SELECT 1, 65537, number AS k FROM system.numbers WHERE t__fuzz_16 LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 989 out of 1000 SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) WITH TOTALS ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC Error on processing query 'SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) WITH TOTALS ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 990 out of 1000 SELECT materialize(255), materialize(1), toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) PREWHERE t__fuzz_12 GROUP BY GROUPING SETS ( (1), (toLowCardinality(65535)), (toInt256(65537))) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS LAST Error on processing query 'SELECT materialize(255), materialize(1), toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) PREWHERE t__fuzz_12 GROUP BY GROUPING SETS ((1), (toLowCardinality(65535)), (toInt256(65537))) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 991 out of 1000 SELECT materialize(7, 255), materialize(toInt128(1)), toNullable(65537) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS LAST Error on processing query 'SELECT materialize(7, 255), materialize(toInt128(1)), toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT materialize(7, 255), materialize(toInt128(1)), toNullable(65537) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS FIRST, toNullable(1) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 992 out of 1000 SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS LAST Error on processing query 'SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 3]. In scope SELECT materialize(255), materialize(toInt128(1)), toNullable(toInt128(65537)) FROM (SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST, toNullable(1) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 993 out of 1000 SELECT materialize(toInt128(1)), toNullable(toInt128(65537)) FROM ( SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 SELECT materialize(1), toNullable(toInt128(65537)) FROM ( SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 SELECT materialize(1), toNullable(toInt128(65537)) FROM ( SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 SELECT materialize(1), toNullable(toInt128(65537)) FROM ( SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC Error on processing query 'SELECT materialize(1), toNullable(toInt128(65537)) FROM (SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(1), toNullable(toInt128(65537)) FROM (SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, toLowCardinality(65535), 65537 WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 997 out of 1000 SELECT materialize(1), toInt128(65537) FROM ( SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, 65535, toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC Error on processing query 'SELECT materialize(1), toInt128(65537) FROM (SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, 65535, toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(1), toInt128(65537) FROM (SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100) ANY FULL OUTER JOIN (SELECT toLowCardinality(65537), number AS k FROM system.numbers LIMIT 7, 257) USING (k) GROUP BY 1, 65535, toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 998 out of 1000 SELECT materialize(1), toNullable(toInt128(65537)) FROM ( SELECT toInt256(1), 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC Got boring AST Fuzzing step 999 out of 1000 SELECT materialize(1), toNullable(toInt128(65537)) FROM ( SELECT 1, 65537, number AS k FROM system.numbers LIMIT 100 ) ANY FULL OUTER JOIN ( SELECT 65537, number AS k FROM system.numbers LIMIT 7, 257 ) USING (k) GROUP BY 1, toLowCardinality(65535), toInt256(65537) WITH ROLLUP ORDER BY materialize(toNullable(65537)) ASC Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 EXPLAIN AST graph = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN AST graph = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "graph" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 3 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 4 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 5 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toLowCardinality(65537), toString. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 6 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 7 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 8 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 9 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_2, number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_2, number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_2' in scope SELECT number AS k, toString(t__fuzz_2, number) AS a FROM system.numbers LIMIT 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 10 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(toInt128(65537)), toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(toInt128(65537)), toString(number) AS b FROM system.numbers LIMIT 5, 256 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(toInt128(65537)), toString(number) AS b FROM system.numbers LIMIT 5, 256 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 13 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(toInt128(65537)), toString(number) AS b FROM system.numbers GROUP BY materialize(255), JSON, toLowCardinality(1024) LIMIT 5, 256 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toLowCardinality(toInt128(65537)), toString(number) AS b FROM system.numbers GROUP BY materialize(255), JSON, toLowCardinality(1024) LIMIT 5, 256) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT number AS k, toLowCardinality(toInt128(65537)), toString(number) AS b FROM system.numbers GROUP BY materialize(255), JSON, toLowCardinality(1024) LIMIT 5, 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 14 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toLowCardinality(toInt128(65537)), toString(number) AS b FROM system.numbers LIMIT 5, 256 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 15 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toInt128(65537), toString(number) AS b FROM system.numbers LIMIT 5, 256 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toInt128(65537), toString(number) AS b FROM system.numbers LIMIT 5, 256 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 17 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 18 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 SELECT k, t__fuzz_17, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toInt256(65537) FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, t__fuzz_17, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toInt256(65537) FROM system.numbers LIMIT 5, 0) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_17' in scope SELECT k, t__fuzz_17, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toInt256(65537) FROM system.numbers LIMIT 5, 0) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 22 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2 ) ANY INNER JOIN ( SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2) ANY INNER JOIN (SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 23 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 1025, t__fuzz_33, t__fuzz_5 LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, -9223372036854775807 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 1025, t__fuzz_33, t__fuzz_5 LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, -9223372036854775807) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1025 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 1025, t__fuzz_33, t__fuzz_5 LIMIT 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 24 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) GROUP BY b, toInt128(toInt256(1)), toNullable(materialize(-0., toNullable(65537))), 65536 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0) USING (k) GROUP BY b, toInt128(toInt256(1)), toNullable(materialize(-0., toNullable(65537))), 65536 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65536 is out of bounds. Expected in range [1, 3]. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0) USING (k) GROUP BY b, toInt128(toInt256(1)), toNullable(materialize(-0., toNullable(65537))), 65536 ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 25 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY t__fuzz_36 ASC, k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0) USING (k) ORDER BY t__fuzz_36 ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_36' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY INNER JOIN (SELECT number AS k, toInt256(65537), toString(number) AS b FROM system.numbers LIMIT 5, 0) USING (k) ORDER BY t__fuzz_36 ASC, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 26 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 28 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 29 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 31 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(toLowCardinality(materialize(1))) LIMIT 9223372036854775806 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(toLowCardinality(materialize(1))) LIMIT 9223372036854775806) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 5, 0) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000119729 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 32 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 35 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 36 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 37 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 38 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 39 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 SELECT k, a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10) USING (k) ORDER BY k DESC. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 42 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 43 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, t__fuzz_32, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, t__fuzz_32, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT number AS k, t__fuzz_32, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 44 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -1, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -1, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 45 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537 FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537 FROM system.numbers LIMIT 255, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537 FROM system.numbers LIMIT 255, 10) USING (k) ORDER BY k DESC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 46 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 47 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 48 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT '0.1', 10 ) USING (k) ORDER BY materialize(toLowCardinality(toNullable(1))) ASC, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT '0.1', 10) USING (k) ORDER BY materialize(toLowCardinality(toNullable(1))) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual '0.1'. In scope SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT '0.1', 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 50 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 51 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY t__fuzz_36 ASC, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10) USING (k) ORDER BY t__fuzz_36 ASC, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b F. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 52 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 255, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 255, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_45 LIMIT 255, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 53 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 1048575 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY materialize(1), 65535, t__fuzz_7 LIMIT 255, 9223372036854775807 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY materialize(1), 65535, t__fuzz_7 LIMIT 255, 9223372036854775807) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Positional argument number 65535 is out of bounds. Expected in range [1, 3]. In scope SELECT number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY materialize(1), 65535, t__fuzz_7 LIMIT 255, 9223372036854775807. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 56 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(materialize(1024), number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(t__fuzz_29, number) AS b FROM system.numbers LIMIT 255, NULL ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(materialize(1024), number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(t__fuzz_29, number) AS b FROM system.numbers LIMIT 255, NULL) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(materialize(1024), number) AS a FROM system.numbers LIMIT 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 57 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 1048575 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 58 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 1048575 ) USING (k) PREWHERE t__fuzz_37 ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 1048575) USING (k) PREWHERE t__fuzz_37 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 59 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 255 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 255 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 61 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 255 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 255, 255) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "run_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 62 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, -2147483649 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, -2147483649) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 64 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 EXPLAIN PIPELINE header = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE header = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 66 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -1 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -1) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 67 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 68 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 2147483648 ) USING (k) ORDER BY materialize(toNullable(materialize(toNullable(65537)))) ASC, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 2147483648) USING (k) ORDER BY materialize(toNullable(materialize(toNullable(65537)))) ASC, k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 69 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FR. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 71 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 72 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 73 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 74 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FR. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 77 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 78 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 79 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(65535) LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE toInt256(1) LIMIT 7, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(65535) LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE toInt256(1) LIMIT 7, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 81 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 83 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 84 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 87 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 90 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 91 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 92 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 94 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 95 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 96 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 98 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 100 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 101 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT number AS k, 65537, toString(number) AS b FR. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 102 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 104 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 106 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 108 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 109 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 110 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 111 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY 44, toString(number) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY 44, toString(number) LIMIT 3, 65537) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 44 is out of bounds. Expected in range [1, 4]. In scope SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY 44, toString(number) LIMIT 3, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 112 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 113 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 114 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(65537, number) AS b FROM system.numbers LIMIT -2147483648, 255 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(65537, number) AS b FROM system.numbers LIMIT -2147483648, 255) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, number AS k, 65537, toString(65537, number) AS b FROM system.numbers LIMIT -2147483648, 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 117 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) PREWHERE t__fuzz_41 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) PREWHERE t__fuzz_41 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) PREWHERE t__fuzz_41 ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 118 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 65536, 255 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT 65535, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 65536, 255) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 65535, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 65536, 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 121 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 122 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 123 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) GROUP BY materialize(toInt128(65537)), 2147483646 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) GROUP BY materialize(toInt128(65537)), 2147483646 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) GROUP BY materialize(toInt128(65537)), 2147483646 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 125 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1025, 255 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1025, 255) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 126 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 128 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775807 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY 1023 ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775807) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY 1023 ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 1023 is out of bounds. Expected in range [1, 3]. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775807) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY 1023 ASC NULLS LAST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 129 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_41, number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_41, number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_41' in scope SELECT number AS k, toString(t__fuzz_41, number) AS a FROM system.numbers LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 131 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 134 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 137 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 138 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE toNullable(toInt128(1025, 65537)) LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE toNullable(toInt128(1025, 65537)) LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 139 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 140 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 144 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 145 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 147 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 148 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 149 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 150 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 151 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 152 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 153 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 155 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 157 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 159 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 160 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 162 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 164 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 167 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 168 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 169 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 170 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 172 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 174 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 175 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 176 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 177 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 181 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 182 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 183 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 184 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 185 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 186 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 191 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 192 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 193 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 255 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 194 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 196 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 197 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_13 LIMIT 256, 100 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_13 LIMIT 256, 100) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_13 LIMIT 256, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 198 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY materialize(materialize(65535)) LIMIT 65536, 100 ) USING (k) WHERE t__fuzz_37 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY materialize(materialize(65535)) LIMIT 65536, 100) USING (k) WHERE t__fuzz_37 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY materialize(materialize(65535)) LIMIT 65536, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 199 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 200 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 201 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_15 LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_15 LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_15 LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 202 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 203 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 100 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 100) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000090985 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 204 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY toLowCardinality(1) DESC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY toLowCardinality(1) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY toLowCardinality(1) DESC, k ASC NULLS FIRST Got boring AST Fuzzing step 207 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 210 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) WHERE 256 ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) WHERE 256 ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 211 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toLowCardinality(1)) LIMIT 10 ) ANY INNER JOIN ( SELECT toInt128(65535), toNullable(toNullable(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toLowCardinality(1)) LIMIT 10) ANY INNER JOIN (SELECT toInt128(65535), toNullable(toNullable(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 212 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) PREWHERE t__fuzz_9 ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) PREWHERE t__fuzz_9 ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_9' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) PREWHERE t__fuzz_9 ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 213 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14 LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14 LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_14' in scope SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14 LIMIT -0., 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 214 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY INNER JOIN (SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 215 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(toNullable(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_39, number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(materialize(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_39, number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, toNullable(materialize(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_39' in scope SELECT number AS k, toString(t__fuzz_39, number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 218 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_37 LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1.0001 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_37 LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1.0001) USING (k) ORDER BY toLowCardinality(1) DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY t__fuzz_37 LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 219 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 220 out of 1000 SELECT k, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS LAST, t__fuzz_40 ASC, k DESC NULLS LAST Error on processing query 'SELECT k, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) DESC NULLS LAST, t__fuzz_40 ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 221 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 222 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483647) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k,. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 223 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0.5, 100 ) USING (k) ORDER BY toLowCardinality(1) DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 0.5, 100) USING (k) ORDER BY toLowCardinality(1) DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 224 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(materialize(toLowCardinality(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(toLowCardinality(65537)), number AS k, 65537, toString(2147483647, number) AS b FROM system.numbers LIMIT 0.9999, 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(toLowCardinality(65537)), number AS k, 65537, toString(2147483647, number) AS b FROM system.numbers LIMIT 0.9999, 100) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, materialize(toLowCardinality(65537)), number AS k, 65537, toString(2147483647, number) AS b FROM system.numbers LIMIT 0.9999, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 226 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(materialize(toLowCardinality(65537))), number AS k, 65537, toString(1048577, number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(materialize(toLowCardinality(65537))), number AS k, 65537, toString(1048577, number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, materialize(materialize(toLowCardinality(65537))), number AS k, 65537, toString(1048577, number) AS b FROM system.numbers LIMIT -0., 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 227 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775807 ) ANY INNER JOIN ( SELECT 65535, materialize(toLowCardinality(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., -9223372036854775808 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775807) ANY INNER JOIN (SELECT 65535, materialize(toLowCardinality(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., -9223372036854775808) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 228 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(materialize(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(3, number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(3, number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(3, number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 230 out of 1000 SELECT t__fuzz_6, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(materialize(toInt256(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, toLowCardinality(1) DESC, k DESC Error on processing query 'SELECT t__fuzz_6, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(materialize(toInt256(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, toLowCardinality(1) DESC, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_6' in scope SELECT t__fuzz_6, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(materialize(toInt256(65537))), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, toLowCardinality(1) DESC, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 231 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(2., number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k DESC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(2., number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(2., number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 232 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., NULL ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., NULL) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 234 out of 1000 SELECT k, a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, Memory DESC, k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048575) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, Memory DESC, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048575) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, Memory DESC, k DESC. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 235 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY 10, 65535, a LIMIT -0., 100 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY 10, 65535, a LIMIT -0., 100) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Positional argument number 10 is out of bounds. Expected in range [1, 5]. In scope SELECT 65535, materialize(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY 10, 65535, a LIMIT -0., 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 236 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT materialize(toNullable(65535)), 65537, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_19 LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT materialize(toNullable(65535)), 65537, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_19 LIMIT -0., 1023) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_19' in scope SELECT materialize(toNullable(65535)), 65537, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE t__fuzz_19 LIMIT -0., 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 238 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) PREWHERE materialize(materialize(65535)) ORDER BY toLowCardinality(1) ASC, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) PREWHERE materialize(materialize(65535)) ORDER BY toLowCardinality(1) ASC, k ASC': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 239 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 241 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "dump_ast" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 242 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(toString(number), number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(toString(number), number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY toLowCardinality(1) ASC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, 65537, number AS k, 65537, toString(toString(number), number) AS b FROM system.numbers LIMIT -0., 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 243 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 244 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 245 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., NULL ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., NULL) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 246 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 247 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 248 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY toLowCardinality(1) ASC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 251 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toSt. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 252 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 253 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 255 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 258 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 259 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 260 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 261 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 262 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 263 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 265 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 266 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 267 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 268 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 269 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 270 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 271 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(materialize(materialize(65535)), number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(materialize(materialize(65535)), number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(materialize(materialize(65535)), number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 272 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toSt. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 273 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 274 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toSt. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 279 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 280 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 283 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 284 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.003638243 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 285 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 289 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 290 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 291 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 292 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 293 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toSt. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 295 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 296 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., -1 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., -1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 299 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 300 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 302 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 303 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 304 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 306 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 307 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 308 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toSt. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 309 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 311 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 312 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 313 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 316 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 317 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 320 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 321 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 324 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 326 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 327 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 328 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 331 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 332 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 335 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 336 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 337 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 338 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toSt. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 339 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 340 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toSt. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 342 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 343 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 344 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 345 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 347 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 348 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 351 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 352 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toSt. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 353 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Got boring AST Fuzzing step 360 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Got boring AST Fuzzing step 361 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE toNullable(toInt128(65537)) LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE toNullable(toInt128(65537)) LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 362 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Got boring AST Fuzzing step 363 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(toNullable(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, toNullable(toNullable(65537)), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 364 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Got boring AST Fuzzing step 365 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Got boring AST Fuzzing step 366 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Got boring AST Fuzzing step 367 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY Memory, toLowCardinality(65537) LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY Memory, toLowCardinality(65537) LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY Memory, toLowCardinality(65537) LIMIT -0., 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 368 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Got boring AST Fuzzing step 369 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, to. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 373 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Got boring AST Fuzzing step 374 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, to. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 378 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Got boring AST Fuzzing step 379 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, t__fuzz_45 ASC, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, t__fuzz_45 ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, t__fuzz_45 ASC, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 381 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE toNullable(toInt128(65537)) LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers WHERE toNullable(toInt128(65537)) LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Nullable(Int128) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 382 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Got boring AST Fuzzing step 383 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers PREWHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 384 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Got boring AST Fuzzing step 385 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14 LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14 LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_14' in scope SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_14 LIMIT -0., 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 386 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 2., toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) GROUP BY toLowCardinality(toNullable(1024)) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 2., toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) GROUP BY toLowCardinality(toNullable(1024)) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 2., toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) GROUP BY toLowCardinality(toNullable(1024)) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 387 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Got boring AST Fuzzing step 388 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY toNullable(toLowCardinality(1)), 2147483646 LIMIT -0., 1024 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY toNullable(toLowCardinality(1)), 2147483646 LIMIT -0., 1024) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 5]. In scope SELECT 65535, toNullable(65537), number AS k, 65537, toString(number) AS b FROM system.numbers GROUP BY toNullable(toLowCardinality(1)), 2147483646 LIMIT -0., 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 389 out of 1000 EXPLAIN PIPELINE header = true SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 390 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Got boring AST Fuzzing step 391 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_2 LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(t__fuzz_19, number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) PREWHERE 1025 ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_2 LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(t__fuzz_19, number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) PREWHERE 1025 ORDER BY toLowCardinality(materialize(65535)) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_2 LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 393 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 395 out of 1000 SELECT k, a FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 396 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 SELECT k, a FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, toLowCardinality(65537), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 399 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT inf, 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT inf, 100) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 401 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1 ) USING (k) PREWHERE t__fuzz_3 WHERE materialize(toString(number), toInt256(1)) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1) USING (k) PREWHERE t__fuzz_3 WHERE materialize(toString(number), toInt256(1)) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_3' in scope SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1) USING (k) PREWHERE t__fuzz_3 WHERE materialize(toString(number), toInt256(1)) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 13. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 406 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., -1 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648) ANY INNER JOIN (SELECT 65535, toLowCardinality(65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., -1) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 408 out of 1000 SELECT k, a FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(toLowCardinality(toLowCardinality(toNullable(65537))), 65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, toLowCardinality(toLowCardinality(toLowCardinality(toNullable(65537))), 65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 65535, toLowCardinality(toLowCardinality(toLowCardinality(toNullable(65537))), 65537), number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 409 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 411 out of 1000 SELECT k, a FROM ( SELECT number AS k, t__fuzz_39, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 10.0001, -2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, t__fuzz_39, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT 10.0001, -2147483648) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_39' in scope SELECT number AS k, t__fuzz_39, toString(number) AS a FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 412 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 413 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, number AS k, 65537, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 SELECT k, a FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 421 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1023 ) USING (k) GROUP BY 1 ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) GROUP BY 1 ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column a is not under aggregate function and not in GROUP BY keys. In query SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1023) USING (k) GROUP BY 1 ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 422 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT t__fuzz_37, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1048575 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT t__fuzz_37, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1048575) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT t__fuzz_37, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1048575) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 424 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 426 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 427 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, materi. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 428 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 430 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 0. LIMIT 9223372036854775806 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, materialize(materialize(toNullable(65537))), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 0. LIMIT 9223372036854775806) ANY INNER JOIN (SELECT 65535, 65537, number AS k, materialize(materialize(toNullable(65537))), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 432 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toInt128(1)), JSON LIMIT -2 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toInt128(1)), JSON LIMIT -2) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toInt128(1)), JSON LIMIT -2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 434 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(1, number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(1, number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(1, number) AS a FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 435 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) WHERE toInt128(toLowCardinality(toNullable(65537))) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) WHERE toInt128(toLowCardinality(toNullable(65537))) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(Int128) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 437 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 438 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 2147483646 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(toInt128(1048576))), toString(number) AS b FROM system.numbers LIMIT -0., 2147483646) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 12.675089806 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 439 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(1048576)), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(1048576)), toString(number) AS b FROM system.numbers WHERE toLowCardinality(1) GROUP BY toLowCardinality(materialize(1)), materialize(toInt128(65537)) LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(1048576)), toString(number) AS b FROM system.numbers WHERE toLowCardinality(1) GROUP BY toLowCardinality(materialize(1)), materialize(toInt128(65537)) LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(1048576)), toString(number) AS b FROM system.numbers WHERE toLowCardinality(1) GROUP BY toLowCardinality(materialize(1)), materialize(toInt128(65537)) LIMIT -0., 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 441 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(1048576)), toString(number) AS b FROM system.numbers LIMIT 10000000000., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(toNullable(1048576)), toString(number) AS b FROM system.numbers LIMIT 10000000000., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00011719 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 442 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 446 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 447 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 448 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 449 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 450 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 451 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 453 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 457 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 458 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 460 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 461 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 462 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 463 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 464 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 465 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 466 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 468 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 469 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 471 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 472 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 473 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 474 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 475 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 476 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 477 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 478 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 480 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 483 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 486 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Got boring AST Fuzzing step 487 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(toLowCardinality(1024), number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(toLowCardinality(1024), number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(1024), number) AS a FROM system.numbers LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 489 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 1024) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 490 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, toLowCardinality(1048576), toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 494 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0.5, 255 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0.5, 255) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 496 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 255 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 255 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 3.4028234663852886e38, 255) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 498 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k ASC NULLS LAST Got boring AST Fuzzing step 500 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 255 ) USING (k) PREWHERE t__fuzz_13 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 255) USING (k) PREWHERE t__fuzz_13 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 255) USING (k) PREWHERE t__fuzz_13 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 501 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers PREWHERE toNullable(toInt256(1)) LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers PREWHERE toNullable(toInt256(1)) LIMIT 0., 7) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001164f5ed 12. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158170e 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 503 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k ASC NULLS LAST Got boring AST Fuzzing step 504 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -1 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -1) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 505 out of 1000 SELECT k, a FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(t__fuzz_46, number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(t__fuzz_46, number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_46' in scope SELECT 65535, 65537, number AS k, 65537, 1048576, toString(t__fuzz_46, number) AS b FROM system.numbers LIMIT 0., 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 506 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_7 LIMIT -inf, 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_7 LIMIT -inf, 7) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_7' in scope SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_7 LIMIT -inf, 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 508 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k ASC NULLS FIRST Got boring AST Fuzzing step 509 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0.5, 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0.5, 7) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 511 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) ASC, k DESC NULLS LAST Got boring AST Fuzzing step 512 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT toInt256(65535), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT toInt256(toLowCardinality(65535)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) WHERE t__fuzz_4 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT toInt256(toLowCardinality(65535)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE t__fuzz_4 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_4' in scope SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT toInt256(toLowCardinality(65535)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) WHERE t__fuzz_4 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 515 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 SELECT t__fuzz_32, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -1 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT t__fuzz_32, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -1) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 517 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1.0001, 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1.0001, 7) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 518 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 7 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) GROUP BY materialize(toNullable(65537)), toNullable(1), t__fuzz_42, t__fuzz_1 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) GROUP BY materialize(toNullable(65537)), toNullable(1), t__fuzz_42, t__fuzz_1 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_42' in scope SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) GROUP BY materialize(toNullable(65537)), toNullable(1), t__fuzz_42, t__fuzz_1 ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 523 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(1) LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 1048577 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(1) LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 100000000000000000000., 1048577) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 524 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_passes = true, dump_ast = true SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_passes = true, dump_ast = true SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY INNER JOIN (SELECT 65535, 65537, number AS k, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "run_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 525 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 65537 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT materialize(65535), toLowCardinality(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 65537 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT materialize(65535), toLowCardinality(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 65537 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT materialize(65535), toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 65537 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT materialize(65535), toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT materialize(65535), toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1000.0001, 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT materialize(65535), toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1000.0001, 100) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC NULLS LAST, materialize(materialize(65535)) DESC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 532 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC, k ASC NULLS FIRST Got boring AST Fuzzing step 534 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(toLowCardinality(1), number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(toLowCardinality(1), number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, materialize(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100) USING (k) ORDER BY toLowCardinality(materialize(65535)) ASC, materialize(materialize(65535)) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(1), number) AS a FROM system.numbers LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 535 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2) ANY INNER JOIN (SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 537 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY toLowCardinality(materialize(65535)) DESC, materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 10.0001, 100 ) USING (k) ORDER BY 1048575 DESC, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 10.0001, 100) USING (k) ORDER BY 1048575 DESC, materialize(materialize(65535)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 541 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 542 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, materialize(65537), number AS k, t, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, 65537, materialize(65537), number AS k, t, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT 65535, 65537, materialize(65537), number AS k, t, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 543 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 100 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC Got boring AST Fuzzing step 547 out of 1000 SELECT k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) GROUP BY t__fuzz_39, toLowCardinality(toNullable(65537)), toNullable(65537), materialize(255) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC Error on processing query 'SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) GROUP BY t__fuzz_39, toLowCardinality(toNullable(65537)), toNullable(65537), materialize(255) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_39' in scope SELECT k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) GROUP BY t__fuzz_39, toLowCardinality(toNullable(65537)), toNullable(65537), materialize(255) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 548 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY 65536 ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY 65536 ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Positional argument number 65536 is out of bounds. Expected in range [1, 2]. In scope SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY 65536 ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 549 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1.1754943508222875e-38, 1048577) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 550 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 551 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(materialize(t__fuzz_9, 65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, toLowCardinality(materialize(t__fuzz_9, 65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_9' in scope SELECT 65535, toLowCardinality(materialize(t__fuzz_9, 65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 554 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(materialize(t__fuzz_17, 65537)), number AS k, 65537, toInt256(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, toLowCardinality(materialize(t__fuzz_17, 65537)), number AS k, 65537, toInt256(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_17' in scope SELECT 65535, toLowCardinality(materialize(t__fuzz_17, 65537)), number AS k, 65537, toInt256(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 555 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Got boring AST Fuzzing step 556 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(materialize(65537)), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(65537), toInt256(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(materialize(toLowCardinality(65537))), materialize(materialize(65535)), t__fuzz_0 LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(materialize(toLowCardinality(65537))), materialize(materialize(65535)), t__fuzz_0 LIMIT 7) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_0' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(materialize(toLowCardinality(65537))), materialize(materialize(65535)), t__fuzz_0 LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 559 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_13 LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT toLowCardinality(65535), materialize(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_13 LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT toLowCardinality(65535), materialize(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_13 LIMIT 1., 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 560 out of 1000 SELECT k, a FROM ( SELECT number AS k FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(65537), toInt256(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC Error on processing query 'SELECT k, a FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT toLowCardinality(65535), materialize(65537), toInt256(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a FROM (SELECT number AS k FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT toLowCardinality(65535), materialize(65537), toInt256(65537), number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) ASC. Maybe you meant: ['b']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 561 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(65537), toInt256(65537), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(65537), toInt256(toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(65537), toInt256(toNullable(materialize(255), 65537)), number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., -2147483647 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT toLowCardinality(65535), materialize(65537), toInt256(toNullable(materialize(255), 65537)), number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., -2147483647) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(65535), materialize(65537), toInt256(toNullable(materialize(255), 65537)), number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., -2147483647. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 564 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toNullable(65537), number AS k, toLowCardinality(t__fuzz_8, 65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, toNullable(65537), number AS k, toLowCardinality(t__fuzz_8, 65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_8' in scope SELECT toLowCardinality(65535), 65537, toNullable(65537), number AS k, toLowCardinality(t__fuzz_8, 65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 565 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(65537), toInt256(toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS LAST Got boring AST Fuzzing step 566 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(65537), toInt256(toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers WHERE materialize(materialize(65535)) LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT toLowCardinality(65535), materialize(65537), toInt256(toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers WHERE materialize(materialize(65535)) LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column materialize(materialize(65535_UInt16)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 567 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toInt256(toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toInt256(toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Got boring AST Fuzzing step 569 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT 65535, 65537, toInt256(t__fuzz_11, toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY INNER JOIN (SELECT 65535, 65537, toInt256(t__fuzz_11, toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_11' in scope SELECT 65535, 65537, toInt256(t__fuzz_11, toNullable(65537)), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 570 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toInt256(65537), number AS k, toLowCardinality(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048577 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Got boring AST Fuzzing step 573 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) GROUP BY t__fuzz_25, t__fuzz_31, toNullable(toInt128(1048576)) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, 65537, number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) GROUP BY t__fuzz_25, t__fuzz_31, toNullable(toInt128(1048576)) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, 65537, number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) GROUP BY t__fuzz_25, t__fuzz_31, toNullable(toInt128(1048576)) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 574 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., -2147483647 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, 65537, number AS k, toLowCardinality(65537), materialize(toInt128(1048576)), toString(number) AS b FROM system.numbers LIMIT 1., -2147483647) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 575 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(t__fuzz_1, 1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(t__fuzz_1, 1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY materialize(materialize(65535)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_1' in scope SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(t__fuzz_1, 1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 577 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, toInt128(toInt256(65537)), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT materialize(toInt256(65535)), 65537, 65537, number AS k, 65537, toInt128(toInt256(65537)), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(toInt256(65535)), 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toInt256(65535), 65537, 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., -1 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT toInt256(65535), 65537, 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT -0., -1) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 581 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE -0. LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(toInt256(65535)), 65537, 65537, number AS k, 65537, 65537, materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 256 ) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE -0. LIMIT 2) ANY INNER JOIN (SELECT materialize(toInt256(65535)), 65537, 65537, number AS k, 65537, 65537, materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 256) USING (k) ORDER BY materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Float64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 582 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(toInt256(65535)), 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(toInt256(65535)), materialize(65537), 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(toInt256(65535)), materialize(65537), 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(toInt256(65535)), materialize(6553. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 584 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(toInt256(65535)), 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toNullable(toNullable(toInt128(65537))), 1048576), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toLowCardinality(toNullable(toNullable(toInt128(65537))), 1048576), toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT number AS k, toLowCardinality(toNullable(toNullable(toInt128(65537))), 1048576), toString(number) AS a FROM system.numbers LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 587 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC Got boring AST Fuzzing step 588 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC Got boring AST Fuzzing step 589 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 SELECT k, a FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), 65537, 65537, number AS k, 65537, toInt128(toNullable(65537)), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC Error on processing query 'SELECT k, a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), 65537, 65537, number AS k, 65537, toInt128(toNullable(65537)), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), 65537, 65537, number AS k, 65537, toInt128(toNullable(65537)), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 591 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), 65537, 65537, number AS k, 65537, toInt128(65537), materialize(1048576), toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toInt128(65537)), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toInt128(65537)), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 0.9999, 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), toNullable(toInt128(65537)), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 0.9999, 1048575) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 594 out of 1000 SELECT toLowCardinality(toLowCardinality(65535)), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toInt128(toInt128(65537))), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 SELECT toLowCardinality(toLowCardinality(65535)), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toInt128(toInt128(65537))), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) ASC Got boring AST Fuzzing step 596 out of 1000 SELECT toLowCardinality(toLowCardinality(65535)), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toInt128(65537)), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toInt128(65537)), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_4 LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) ASC Error on processing query 'SELECT toLowCardinality(65535), k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), toNullable(toInt128(65537)), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_4 LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_4' in scope SELECT materialize(65535), toNullable(toInt128(65537)), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers WHERE t__fuzz_4 LIMIT 1., 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 598 out of 1000 SELECT toLowCardinality(toLowCardinality(65535)), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), toNullable(toInt128(65537)), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), toInt128(65537), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), toInt128(65537), 65537, number AS k, 65537, toInt128(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC Got boring AST Fuzzing step 601 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT t__fuzz_21, number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(65535), k, a FROM (SELECT t__fuzz_21, number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_21' in scope SELECT t__fuzz_21, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 603 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(65535), k, a FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT toLowCardinality(65535), k, a FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST. Maybe you meant: ['b']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 604 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(materialize(65535))), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT 65535, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 607 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) GROUP BY t__fuzz_37, toInt128(toInt256(1)), t__fuzz_37, materialize(toInt128(1048576)) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65535), k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) GROUP BY t__fuzz_37, toInt128(toInt256(1)), t__fuzz_37, materialize(toInt128(1048576)) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT toLowCardinality(65535), k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(65535)), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) GROUP BY t__fuzz_37, toInt128(toInt256(1)), t__fuzz_37, materialize(toInt128(1048576)) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 608 out of 1000 SELECT toLowCardinality(65535), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(materialize(65535))), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0.0001, 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), 65537, 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0.0001, 1048575) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 611 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., '21474836.46' ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., '21474836.46') USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '21474836.46'. In scope SELECT materialize(65535), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., '21474836.46'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 612 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), materialize(materialize(65535)), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers PREWHERE toInt128(toLowCardinality(toNullable(65537))) LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT toLowCardinality(65535), materialize(materialize(65535)), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers PREWHERE toInt128(toLowCardinality(toNullable(65537))) LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 613 out of 1000 EXPLAIN PIPELINE compact = true SELECT toNullable(toInt256(65535)), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toNullable(toInt256(65535)), k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(65535)), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 614 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 615 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(materialize(65535)), toNullable(65537), 65537, number AS k, 65537, toInt256(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575 ) USING (k) PREWHERE t__fuzz_31 ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT 65535, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(65535)), toNullable(65537), 65537, number AS k, 65537, toInt256(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) PREWHERE t__fuzz_31 ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_31' in scope SELECT 65535, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(materialize(65535)), toNullable(65537), 65537, number AS k, 65537, toInt256(65537), 1048576, toString(number) AS b FROM system.numbers LIMIT 1., 1048575) USING (k) PREWHERE t__fuzz_31 ORDER BY toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 616 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 SELECT toLowCardinality(toNullable(65535)), k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) WHERE number ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(toNullable(65535)), k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY INNER JOIN (SELECT materialize(65535), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575) USING (k) WHERE number ORDER BY toInt256(1) ASC, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 618 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 0., 1048575) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 0., 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 620 out of 1000 SELECT 65535, k, a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(toLowCardinality(65535)), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., -2147483649 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) DESC Error on processing query 'SELECT 65535, k, a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(toLowCardinality(65535)), toNullable(65537), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., -2147483649) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 621 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 622 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048577 ) USING (k) PREWHERE toInt128(toInt256(65537)) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048577) USING (k) PREWHERE toInt128(toInt256(65537)) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 623 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(65535), toNullable(toNullable(65537)), 65537, number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC, materialize(materialize(65535)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toNullable(65537)), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toNullable(65537)), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Got boring AST Fuzzing step 628 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toNullable(65537)), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT 65535, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(toNullable(65537)), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575) USING (k) ORDER BY toInt256(1) DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "dump_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 629 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt128(1), toNullable(65537)), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(toInt128(1), toNullable(65537)), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65535, toNullable(toInt128(1), toNullable(65537)), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 630 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) PREWHERE 2. WHERE materialize(1) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(65537), toNullable(65537), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575) USING (k) PREWHERE 2. WHERE materialize(1) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 632 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65535, k FROM ( SELECT number AS k, toString(1025, number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, 65537, toNullable(toInt128(65537)), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7 ) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65535, k FROM (SELECT number AS k, toString(1025, number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, 65537, toNullable(toInt128(65537)), number AS k, 65537, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 7) USING (k) ORDER BY toInt256(1) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('65535'): 65535, k FROM (SELECT number AS k, toString(1025, number) AS a FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, 65537, toNullable(. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 633 out of 1000 SELECT 65535, k FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 635 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) GROUP BY materialize(toString(number), toNullable(toInt256(1))), toString(number) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY INNER JOIN (SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575) USING (k) GROUP BY materialize(toString(number), toNullable(toInt256(1))), toString(number) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY INNER JOIN (SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575) USING (k) GROUP BY materialize(toString(number), toNullable(toInt256(1))), toString(number) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 636 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC Got boring AST Fuzzing step 637 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC Got boring AST Fuzzing step 638 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC Got boring AST Fuzzing step 639 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC Got boring AST Fuzzing step 640 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers PREWHERE toNullable(65537) LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) ASC Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers PREWHERE toNullable(65537) LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 642 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1.1920928955078125e-7, 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT 1.1920928955078125e-7, 1048575) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 644 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers GROUP BY toInt128(1023), 255, toNullable(65537), materialize(toLowCardinality(1)) LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers GROUP BY toInt128(1023), 255, toNullable(65537), materialize(toLowCardinality(1)) LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576, toString(number) AS b FROM system.numbers LIMIT -0., 1048575) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: Positional argument number 255 is out of bounds. Expected in range [1, 1]. In scope SELECT number AS k FROM system.numbers GROUP BY toInt128(1023), 255, toNullable(65537), materialize(toLowCardinality(1)) LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 645 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC Got boring AST Fuzzing step 647 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC Got boring AST Fuzzing step 648 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(65537)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt256(toLowCardinality(65537))), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toLowCardinality(65537)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1023, 1)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC NULLS FIRST, materialize(materialize(65535)) ASC Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1023, 1)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC NULLS FIRST, materialize(materialize(65535)) ASC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1023, 1)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 654 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers GROUP BY t__fuzz_7, materialize(toNullable(1024)), t__fuzz_43, toInt128(65537) LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), toLowCardinality(toLowCardinality(1), materialize(1)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers GROUP BY t__fuzz_7, materialize(toNullable(1024)), t__fuzz_43, toInt128(65537) LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(65537), toLowCardinality(toLowCardinality(1), materialize(1)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575) USING (k) ORDER BY toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_7' in scope SELECT number AS k FROM system.numbers GROUP BY t__fuzz_7, materialize(toNullable(1024)), t__fuzz_43, toInt128(65537) LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 655 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) PREWHERE t__fuzz_37 ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575) USING (k) PREWHERE t__fuzz_37 ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toNullable(toLowCardinality(65537)), toLowCardinality(materialize(1)), 65537, number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 0., 1048575) USING (k) PREWHERE t__fuzz_37 ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 657 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), toLowCardinality(materialize(1)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), materialize(1), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) GROUP BY toNullable(toLowCardinality(1)) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toLowCardinality(65537), materialize(1), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575) USING (k) GROUP BY toNullable(toLowCardinality(1)) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, toLowCardinality(65537), materialize(1), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575) USING (k) GROUP BY toNullable(toLowCardinality(1)) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 659 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), toLowCardinality(materialize(1)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS FIRST Got boring AST Fuzzing step 660 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), toLowCardinality(materialize(1)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC NULLS FIRST, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 661 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT -9223372036854775808 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), materialize(1), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS LAST Error on processing query 'SELECT toNullable(65535), k FROM (SELECT number AS k FROM system.numbers LIMIT -9223372036854775808) ANY INNER JOIN (SELECT 65535, toLowCardinality(65537), materialize(1), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 1048575) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC NULLS FIRST, materialize(materialize(65535)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 662 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), toLowCardinality(materialize(1)), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) DESC NULLS LAST, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT materialize(toLowCardinality(toNullable(65535))), toLowCardinality(65537), 65537, number AS k, 65537 FROM system.numbers LIMIT 1.1920928955078125e-7, 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT toNullable(65535), k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT materialize(toLowCardinality(toNullable(65535))), toLowCardinality(65537), 65537, number AS k, 65537 FROM system.numbers LIMIT 1.1920928955078125e-7, 257) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 666 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY toLowCardinality(toNullable(t__fuzz_31, 65537)), t__fuzz_11, toNullable(toLowCardinality(65537)) LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT toNullable(65535), k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY toLowCardinality(toNullable(t__fuzz_31, 65537)), t__fuzz_11, toNullable(toLowCardinality(65537)) LIMIT 0., 257) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_31' in scope SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY toLowCardinality(toNullable(t__fuzz_31, 65537)), t__fuzz_11, toNullable(toLowCardinality(65537)) LIMIT 0., 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 669 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT toNullable(65535), k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 257 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT toNullable(65535), k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 257) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 673 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT 65535, 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 255 ) USING (k) WHERE materialize(materialize(toLowCardinality(Memory, toInt128(65537)), materialize(65535))) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 255) USING (k) WHERE materialize(materialize(toLowCardinality(Memory, toInt128(65537)), materialize(65535))) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'Memory' in scope SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT 65535, 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 255) USING (k) WHERE materialize(materialize(toLowCardinality(Memory, toInt128(65537)), materialize(65535))) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 675 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(materialize(65535)), 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) DESC, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 0., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) DESC NULLS LAST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, toInt256(65537), number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) DESC NULLS LAST, materialize(materialize(65535)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 EXPLAIN PIPELINE SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 EXPLAIN PIPELINE SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC Got boring AST Fuzzing step 681 out of 1000 EXPLAIN PIPELINE SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC Got boring AST Fuzzing step 682 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 255) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('65535'): 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 2) ANY INNER JOIN (SELECT toLowCardinality(65535), 65537, 65537, number AS k. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 683 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 2 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS LAST, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT toLowCardinality(65535), 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS LAST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS LAST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS LAST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65536 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT NULL, 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 65536) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT NULL, 255) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT NULL, 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 691 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT inf, 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT inf, 255) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 694 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, materialize(toLowCardinality(toNullable(1048576))) FROM system.numbers LIMIT nan, 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, materialize(toLowCardinality(toNullable(1048576))) FROM system.numbers LIMIT nan, 255) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 695 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) WHERE toLowCardinality(toNullable(65537)) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255) USING (k) WHERE toLowCardinality(toNullable(65537)) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 696 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 697 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Got boring AST Fuzzing step 698 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 10.0001, 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 10.0001, 255) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 699 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers WHERE 65536 LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY toLowCardinality(toNullable(1024)), materialize(toLowCardinality(toInt128(65537)), materialize(65535)) LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers WHERE 65536 LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY toLowCardinality(toNullable(1024)), materialize(toLowCardinality(toInt128(65537)), materialize(65535)) LIMIT 2., 255) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) DESC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY toLowCardinality(toNullable(1024)), materialize(toLowCardinality(toInt128(65537)), materialize(65535)) LIMIT 2., 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 700 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Got boring AST Fuzzing step 702 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers WHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers WHERE toNullable(toLowCardinality(toNullable(65537))) LIMIT 10) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 703 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC NULLS FIRST, materialize(materialize(65535)) DESC Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 10 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST Got boring AST Fuzzing step 709 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE t__fuzz_42 LIMIT 2., -1 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE t__fuzz_42 LIMIT 2., -1) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_42' in scope SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE t__fuzz_42 LIMIT 2., -1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 710 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT -2147483647 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, toNullable(65537), 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT -2147483647) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, toNullable(65537), 1048576 FROM system.numbers LIMIT 2., 255) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 712 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY INNER JOIN (SELECT 65535, 65537, 65537, 65537, 1048576 FROM system.numbers LIMIT 2., 255) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY INNER JOIN (SELECT 65535, 65537, 65537, 65537, 1048576 FROM system.numbers LIMIT 2., 255) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 713 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT inf, 1 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT inf, 1) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 714 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 SELECT 65535, k FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) DESC NULLS LAST, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) DESC, toNullable(toInt128(1048576)) ASC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT NULL ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT NULL) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 255) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 722 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 724 out of 1000 SELECT 65535, k FROM ( SELECT materialize(1), number AS k FROM system.numbers LIMIT -9223372036854775808 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT materialize(1), number AS k FROM system.numbers LIMIT -9223372036854775808) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 725 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE toLowCardinality(materialize(1)) LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE toLowCardinality(materialize(1)) LIMIT 2., 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 726 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(1)), number AS k FROM system.numbers LIMIT 65537 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST, materialize(materialize(65535)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT -9223372036854775808 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(toNullable(toInt256(65537))), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC Error on processing query 'SELECT 65535, k FROM (SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT -9223372036854775808) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(toNullable(toInt256(65537))), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 730 out of 1000 SELECT 65535, k FROM ( SELECT toNullable(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE toInt256(toLowCardinality(65535)) LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC Error on processing query 'SELECT 65535, k FROM (SELECT toNullable(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE toInt256(toLowCardinality(65535)) LIMIT 2., 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 731 out of 1000 SELECT 65535, k FROM ( SELECT materialize(t__fuzz_32, toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, toLowCardinality(1048576) FROM system.numbers LIMIT 0.9999, 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC Error on processing query 'SELECT 65535, k FROM (SELECT materialize(t__fuzz_32, toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, toLowCardinality(1048576) FROM system.numbers LIMIT 0.9999, 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_32' in scope SELECT materialize(t__fuzz_32, toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 732 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(2147483646, toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC Error on processing query 'SELECT 65535, k FROM (SELECT materialize(toNullable(2147483646, toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(toNullable(2147483646, toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 733 out of 1000 SELECT 65535, k FROM ( SELECT Memory, materialize(toNullable(1)), number AS k FROM system.numbers PREWHERE materialize(toNullable(toLowCardinality(1))) LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT Memory, materialize(toNullable(1)), number AS k FROM system.numbers PREWHERE materialize(toNullable(toLowCardinality(1))) LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT Memory, materialize(toNullable(1)), number AS k FROM system.numbers PREWHERE materialize(toNullable(toLowCardinality(1))) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 734 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(toNullable(65537), toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC Error on processing query 'SELECT 65535, k FROM (SELECT materialize(toNullable(toNullable(65537), toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(toNullable(toNullable(65537), toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 736 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE materialize(toLowCardinality(65537)) LIMIT 10000000000., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC Error on processing query 'SELECT 65535, k FROM (SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers PREWHERE materialize(toLowCardinality(65537)) LIMIT 10000000000., 256) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 737 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers WHERE toLowCardinality(toInt256(65537)) LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) WHERE t__fuzz_22 ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC Error on processing query 'SELECT 65535, k FROM (SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers WHERE toLowCardinality(toInt256(65537)) LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256) USING (k) WHERE t__fuzz_22 ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 65535, k FROM (SELECT materialize(toNullable(toLowCardinality(1))), number AS k FROM system.numbers WHERE toLowCardinality(toInt256(65537)) LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256) USING (k) WHERE t__fuzz_22 ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 738 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 SELECT 65535, k FROM ( SELECT materialize(toLowCardinality(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 65535, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 256 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 0., 256 ) USING (k) ORDER BY toLowCardinality(1048576) ASC, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(1048576) ASC NULLS FIRST, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY t__fuzz_33, t__fuzz_20 LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(1048576) ASC NULLS FIRST, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY t__fuzz_33, t__fuzz_20 LIMIT 2., 256) USING (k) ORDER BY toLowCardinality(1048576) ASC NULLS FIRST, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_33' in scope SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers GROUP BY t__fuzz_33, t__fuzz_20 LIMIT 2., 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 746 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(1048576) DESC NULLS LAST, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 1000.0001, 256 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, materialize(65537), 65537, number AS k, 65537, 1048576 FROM system.numbers LIMIT 1000.0001, 256) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 749 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 256 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC NULLS FIRST, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC NULLS FIRST, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 753 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT 65535 FROM ( SELECT 1, number AS k FROM system.numbers LIMIT -2147483648 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC Error on processing query 'SELECT 65535 FROM (SELECT 1, number AS k FROM system.numbers LIMIT -2147483648) ANY INNER JOIN (SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, materialize(1048576) FROM system.numbers LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 756 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, materialize(toNullable(1048576)) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), 65537, 1., number AS k, 65537, toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(materialize(toNullable(65537))), 65537, 1., number AS k, 65537, toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toLowCardinality(65535)), materialize(toNullable(65537)), 65537, 1., number AS k, 65537, toNullable(1048576) FROM system.numbers LIMIT 3.4028234663852886e38, 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT materialize(toLowCardinality(65535)), materialize(toNullable(65537)), 65537, 1., number AS k, 65537, toNullable(1048576) FROM system.numbers LIMIT 3.4028234663852886e38, 3) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 760 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(toInt128(65537)), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(toInt128(65537)), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(1048576) DESC, toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 762 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers PREWHERE -0. LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers PREWHERE -0. LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 764 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 765 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers GROUP BY 7, 256, materialize(toNullable(1)), JSON, toLowCardinality(65535) LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers GROUP BY 7, 256, materialize(toNullable(1)), JSON, toLowCardinality(65535) LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 256 is out of bounds. Expected in range [1, 7]. In scope SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers GROUP BY 7, 256, materialize(toNullable(1)), JSON, toLowCardinality(65535) LIMIT 2., 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 766 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT -2147483647 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), toInt128(65537), 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT -2147483647) ANY INNER JOIN (SELECT 65535, toNullable(65537), toInt128(65537), 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 767 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(65535) LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), materialize(65537), materialize(toNullable(1.)), number AS k, 65537, toNullable(1048576) FROM system.numbers LIMIT 100000000000000000000., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers WHERE toLowCardinality(65535) LIMIT 1) ANY INNER JOIN (SELECT 65535, materialize(65537), materialize(65537), materialize(toNullable(1.)), number AS k, 65537, toNullable(1048576) FROM system.numbers LIMIT 100000000000000000000., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 768 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers GROUP BY toLowCardinality(toNullable(toInt128(1048576))), t__fuzz_11 LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toLowCardinality(toNullable(65537)), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) PREWHERE number ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers GROUP BY toLowCardinality(toNullable(toInt128(1048576))), t__fuzz_11 LIMIT 1) ANY INNER JOIN (SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toLowCardinality(toNullable(65537)), toNullable(1048576) FROM system.numbers LIMIT 2., 3) USING (k) PREWHERE number ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT 1, number AS k FROM system.numbers GROUP BY toLowCardinality(toNullable(toInt128(1048576))), t__fuzz_11 LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 769 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 770 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toNullable(65537), 65537, 1., number AS k, toLowCardinality(65537), toNullable(toLowCardinality(toNullable(1024)), 1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, toNullable(65537), 65537, 1., number AS k, toLowCardinality(65537), toNullable(toLowCardinality(toNullable(1024)), 1048576) FROM system.numbers LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65535, toNullable(65537), 65537, 1., number AS k, toLowCardinality(65537), toNullable(toLowCardinality(toNullable(1024)), 1048576) FROM system.numbers LIMIT 2., 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 772 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 1000.0001, 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, materialize(toNullable(65537)), 65537, 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 1000.0001, 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 773 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), toLowCardinality(toNullable(65537)), 1., number AS k, toLowCardinality(65537), toNullable(1048576) FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(toNullable(65537)), toNullable(65537), 1., number AS k, 65537, toNullable(1048576) FROM system.numbers PREWHERE materialize(toNullable(1)) LIMIT nan, 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65535, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, materialize(toNullable(65537)), toNullable(65537), 1., number AS k, 65537, toNullable(1048576) FROM system.numbers PREWHERE materialize(toNullable(1)) LIMIT nan, 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 775 out of 1000 SELECT 65535, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), toLowCardinality(toNullable(65537)), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 SELECT k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, materialize(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 SELECT k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 778 out of 1000 SELECT k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 SELECT toLowCardinality(toNullable(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(toNullable(toInt128(65537))), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 SELECT toLowCardinality(toNullable(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(toNullable(toInt128(65537))), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 SELECT toLowCardinality(5, toNullable(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toLowCardinality(toNullable(toInt128(65537))), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(5, toNullable(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, toLowCardinality(toNullable(toInt128(65537))), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(5, toNullable(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, toLowCardinality(toNullable(toInt128(65537))), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 782 out of 1000 SELECT toLowCardinality(toNullable(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt128(65537)), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 783 out of 1000 SELECT toLowCardinality(toNullable(1), toNullable(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toNullable(toInt128(65537)), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(toNullable(1), toNullable(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, toNullable(toInt128(65537)), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(toNullable(1), toNullable(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, toNullable(toInt128(65537)), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 784 out of 1000 SELECT toLowCardinality(toNullable(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1 FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(-0., 65537), 65537, 1., number AS k, toLowCardinality(toInt256(65537)), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537), k FROM (SELECT 1 FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, toInt128(-0., 65537), 65537, 1., number AS k, toLowCardinality(toInt256(65537)), 1048576 FROM system.numbers LIMIT 2., 3) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, toInt128(-0., 65537), 65537, 1., number AS k, toLowCardinality(toInt256(65537)), 1048576 FROM system.numbers LIMIT 2., 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071b92db 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 786 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 788 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Got boring AST Fuzzing step 791 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Got boring AST Fuzzing step 793 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Got boring AST Fuzzing step 794 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Got boring AST Fuzzing step 797 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 798 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Got boring AST Fuzzing step 802 out of 1000 EXPLAIN AST SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC NULLS LAST Got boring AST Fuzzing step 803 out of 1000 SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, toInt128(65537), toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(toNullable(65537))), 1048576 FROM system.numbers LIMIT 2., 3 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 806 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 807 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 808 out of 1000 SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(materialize(65537)), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(materialize(65537)), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 11.876353166 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 809 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 810 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 811 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 814 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 815 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 816 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 817 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 818 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 6. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 819 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 820 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 821 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 824 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 825 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 826 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 827 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 829 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 830 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 832 out of 1000 EXPLAIN SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 835 out of 1000 SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, 65537, 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 12.399036274 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 836 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 6. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 837 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 839 out of 1000 SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.287235725 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 840 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 841 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 6. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 842 out of 1000 SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), toLowCardinality(1.), number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), toLowCardinality(1.), number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.480130791 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 843 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 844 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 845 out of 1000 SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT -9223372036854775808 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT -9223372036854775808) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 846 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 847 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 848 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 849 out of 1000 SELECT toLowCardinality(t__fuzz_28, materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(t__fuzz_7, 65537)), 1048576 FROM system.numbers LIMIT 2., 1048576 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(t__fuzz_28, materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(t__fuzz_7, 65537)), 1048576 FROM system.numbers LIMIT 2., 1048576) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_7' in scope SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(t__fuzz_7, 65537)), 1048576 FROM system.numbers LIMIT 2., 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 850 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 851 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 852 out of 1000 EXPLAIN SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 EXPLAIN SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 854 out of 1000 EXPLAIN SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 855 out of 1000 EXPLAIN SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 856 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 857 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 858 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 EXPLAIN ESTIMATE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 861 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 863 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 865 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 868 out of 1000 EXPLAIN QUERY TREE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 869 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 6. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 871 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 872 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 873 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 874 out of 1000 EXPLAIN AST SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 875 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toLowCardinality'): toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 6. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 877 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 878 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 879 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 880 out of 1000 EXPLAIN SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('toLowCardinality'): toLowCardinality(materialize(65537)), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65535, 6. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 882 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 884 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 885 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(toLowCardinality(65537)), 1048576 FROM system.numbers LIMIT 2., 2147483648 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Got boring AST Fuzzing step 886 out of 1000 SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, toLowCardinality(65537), 1048576 FROM system.numbers LIMIT 2., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 SELECT toLowCardinality(materialize(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, toLowCardinality(65537), 1., number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 1024 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, toNullable(toDecimal256(1., 62)), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, toDecimal256(1., 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65535, 65537, 65537, toDecimal256(1., 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), 65535, toNullable(65537), 65537, toDecimal256(1., 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), 65535, toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), 65535, 65537, 65537, toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT materialize(toNullable(65537)), 65535, 65537, 65537, toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Decimal(76, 47): In scope SELECT materialize(toNullable(65537)), 65535, 65537, 65537, toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/DataTypes/DataTypeLowCardinality.cpp:0: DB::DataTypeLowCardinality::DataTypeLowCardinality(std::shared_ptr) @ 0x0000000010c4116c 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1460: std::shared_ptr std::allocate_shared[abi:v15007], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x000000000b7a1da3 6. /build/src/Functions/toLowCardinality.cpp:34: DB::(anonymous namespace)::FunctionToLowCardinality::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b7a1cb1 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 8. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 9. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 10. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 20. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 25. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 26. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 29. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 30. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 Fuzzing step 894 out of 1000 SELECT toLowCardinality(toLowCardinality(65537)), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), materialize(65535), toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), materialize(65535), toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), 65535, toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., -1 ) USING (k) WHERE toLowCardinality(toLowCardinality(7)) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC Error on processing query 'SELECT toLowCardinality(65537), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT materialize(toNullable(65537)), 65535, toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., -1) USING (k) WHERE toLowCardinality(toLowCardinality(7)) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 897 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), materialize(65535), toNullable(65537), 65537, toDecimal256(toLowCardinality(toLowCardinality(1.)), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 SELECT toLowCardinality(65537), k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), materialize(toNullable(65535)), toNullable(65537), 65537, toDecimal256(toLowCardinality(toLowCardinality(1.)), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) PREWHERE materialize(65537) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(65537), k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT materialize(toNullable(65537)), materialize(toNullable(65535)), toNullable(65537), 65537, toDecimal256(toLowCardinality(toLowCardinality(1.)), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) PREWHERE materialize(65537) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT 1, number AS k FROM system.numbers LIMIT 1 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 899 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), materialize(65535), toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 SELECT 65537, k FROM ( SELECT 1 FROM system.numbers LIMIT 2147483648 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), materialize(65535), toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT 1 FROM system.numbers LIMIT 2147483648) ANY INNER JOIN (SELECT materialize(toNullable(65537)), materialize(65535), toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY INNER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 65537, k FROM (SELECT 1 FROM system.numbers LIMIT 2147483648) ANY INNER JOIN (SELECT materialize(toNullable(65537)), materialize(65535), toNullable(65537), 65537, toDecimal256(toLowCardinality(1.), 62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 901 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT materialize(toNullable(65537)), materialize(65535), toNullable(65537), 65537, toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT toNullable(65537), materialize(65535), 65537, 65537, toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT toNullable(65537), materialize(65535), 65537, materialize(65537), toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 SELECT 65537, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT toNullable(65537), materialize(65535), toNullable(65537), materialize(65537), toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 905 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT toNullable(65537), materialize(65535), toNullable(65537), materialize(65537), toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 906 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), materialize(65537), toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(toLowCardinality(7)) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), 65537, materialize(65537), toLowCardinality(materialize(1.)), 62, number AS k, 65537, 1048576 FROM system.numbers GROUP BY 0., toLowCardinality(1024), toLowCardinality(1048576) LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(toLowCardinality(toNullable(7))) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC Error on processing query 'SELECT 65537, k FROM (SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65537, materialize(65535), 65537, materialize(65537), toLowCardinality(materialize(1.)), 62, number AS k, 65537, 1048576 FROM system.numbers GROUP BY 0., toLowCardinality(1024), toLowCardinality(1048576) LIMIT 2., 65536) USING (k) WHERE toLowCardinality(toLowCardinality(toNullable(7))) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT 65537, materialize(65535), 65537, materialize(65537), toLowCardinality(materialize(1.)), 62, number AS k, 65537, 1048576 FROM system.numbers GROUP BY 0., toLowCardinality(1024), toLowCardinality(1048576) LIMIT 2., 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 908 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), 65537, toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(toLowCardinality(7)) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, 65535, toNullable(65537), 65537, toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) PREWHERE toLowCardinality(materialize(materialize(toLowCardinality(toInt128(65537)), 65535)), 7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65537, k FROM (SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65537, 65535, toNullable(65537), 65537, toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) PREWHERE toLowCardinality(materialize(materialize(toLowCardinality(toInt128(65537)), 65535)), 7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 65537, k FROM (SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65537, 65535, toNullable(65537), 65537, toLowCardinality(1.), 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) PREWHERE toLowCardinality(materialize(materialize(toLowCardinality(toInt128(65537)), 65535)), 7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 Fuzzing step 910 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(toInt128(1)), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(toLowCardinality(7)) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 EXPLAIN SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65537, materialize(65535), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('65537'): 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1) ANY INNER JOIN (SELECT 65537, materialize(65535), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 913 out of 1000 EXPLAIN SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC Got boring AST Fuzzing step 914 out of 1000 EXPLAIN SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC Got boring AST Fuzzing step 915 out of 1000 EXPLAIN SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC Got boring AST Fuzzing step 916 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(65535), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(toLowCardinality(toInt128(65535))), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 1 ) ANY INNER JOIN ( SELECT 65537, materialize(toLowCardinality(toInt128(toInt256(65535)))), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(toInt256(65535))), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(toInt128(toInt256(1)), 1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt256(65535)), 65537, 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers WHERE materialize(toNullable(toNullable(65537), 65537)) LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65537, k FROM (SELECT toLowCardinality(toInt128(toInt256(1)), 1), number AS k FROM system.numbers LIMIT 100) ANY INNER JOIN (SELECT 65537, toLowCardinality(toInt256(65535)), 65537, 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers WHERE materialize(toNullable(toNullable(65537), 65537)) LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(toInt128(toInt256(1)), 1), number AS k FROM system.numbers LIMIT 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 921 out of 1000 EXPLAIN PIPELINE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 EXPLAIN PIPELINE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 923 out of 1000 EXPLAIN AST SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 924 out of 1000 EXPLAIN QUERY TREE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 EXPLAIN PIPELINE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 EXPLAIN PIPELINE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 927 out of 1000 EXPLAIN PIPELINE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 928 out of 1000 EXPLAIN QUERY TREE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 929 out of 1000 EXPLAIN QUERY TREE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 930 out of 1000 EXPLAIN ESTIMATE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100) ANY INNER JOIN (SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('65537'): 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100) ANY INNER JOIN (SELECT 65537, toLowCardinality(toInt12. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 932 out of 1000 EXPLAIN SYNTAX SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) GROUP BY materialize(toLowCardinality(65537)), toLowCardinality(1048575, toNullable(1048576)) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC Error on processing query 'SELECT 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100) ANY INNER JOIN (SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) GROUP BY materialize(toLowCardinality(65537)), toLowCardinality(1048575, toNullable(1048576)) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100) ANY INNER JOIN (SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) GROUP BY materialize(toLowCardinality(65537)), toLowCardinality(1048575, toNullable(1048576)) ORDER BY toLowCardinality(materialize(1)) ASC NULLS LAST, toInt256(1) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 934 out of 1000 EXPLAIN SYNTAX SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 935 out of 1000 EXPLAIN AST SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 936 out of 1000 EXPLAIN AST SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 937 out of 1000 EXPLAIN AST SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 938 out of 1000 EXPLAIN AST SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 939 out of 1000 EXPLAIN AST SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 940 out of 1000 EXPLAIN SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 EXPLAIN SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 942 out of 1000 EXPLAIN SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 943 out of 1000 EXPLAIN QUERY TREE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 EXPLAIN QUERY TREE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 945 out of 1000 EXPLAIN QUERY TREE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 946 out of 1000 EXPLAIN QUERY TREE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 947 out of 1000 EXPLAIN ESTIMATE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 EXPLAIN ESTIMATE SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), toNullable(65537), 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC, toInt256(1) ASC NULLS FIRST Got boring AST Fuzzing step 949 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toLowCardinality(toInt128(65535)), 65537, 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) ASC NULLS FIRST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers WHERE toInt128(toLowCardinality(65537)) LIMIT 100 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(toNullable(toNullable(65537)), 7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers WHERE toInt128(toLowCardinality(65537)) LIMIT 100) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(toNullable(toNullable(65537)), 7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers WHERE toInt128(toLowCardinality(65537)) LIMIT 100) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., 62, number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(toNullable(toNullable(65537)), 7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 952 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 EXPLAIN AST SELECT 65537, k FROM ( SELECT toLowCardinality(toInt256(1)), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 EXPLAIN AST SELECT 65537, k FROM ( SELECT toLowCardinality(toInt256(1)), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC Got boring AST Fuzzing step 955 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(toInt256(1)), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 957 out of 1000 SELECT 65537, k FROM ( SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 10.0001, 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST Error on processing query 'SELECT 65537, k FROM (SELECT toLowCardinality(1), number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 10.0001, 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 958 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(materialize(65535)), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(materialize(65535)), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 2147483648 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC Error on processing query 'SELECT 65537, k FROM (SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT 65537, toInt128(materialize(65535)), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 2147483648) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 12.958741737 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 960 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(materialize(65535)), 65537, toInt128(65537), 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(materialize(65535)), 65537, toInt128(65537), 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) PREWHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT 65537, toInt128(materialize(65535)), 65537, toInt128(65537), 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536) USING (k) PREWHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 962 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(materialize(65535)), 65537, toInt128(65537), 1., toNullable(62), number AS k, materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 964 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(toLowCardinality(toNullable(65537)), 1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, 65535, 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT toInt256(toLowCardinality(toNullable(65537)), 1), number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT 65537, 65535, 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT toInt256(toLowCardinality(toNullable(65537)), 1), number AS k FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000071c9ea0 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 965 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62), 65535), 65537, 65537, 1., toNullable(62), materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT 65537, toInt128(toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62), 65535), 65537, 65537, 1., toNullable(62), materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Decimal(76, 47): In scope SELECT 65537, toInt128(toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62), 65535), 65537, 65537, 1., toNullable(62), materialize(65537), toLowCardinality(1048576) FROM system.numbers LIMIT 2., 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/DataTypes/DataTypeLowCardinality.cpp:0: DB::DataTypeLowCardinality::DataTypeLowCardinality(std::shared_ptr) @ 0x0000000010c4116c 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1460: std::shared_ptr std::allocate_shared[abi:v15007], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x000000000b7a1da3 6. /build/src/Functions/toLowCardinality.cpp:34: DB::(anonymous namespace)::FunctionToLowCardinality::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b7a1cb1 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 8. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 9. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 10. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 18. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 21. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 26. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 28. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 29. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 Fuzzing step 966 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toInt256(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) PREWHERE toNullable(65537) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT 65537, k FROM (SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toInt256(1048576) FROM system.numbers LIMIT 2., 65536) USING (k) PREWHERE toNullable(65537) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 967 out of 1000 EXPLAIN ESTIMATE SELECT 65537, k FROM ( SELECT 1, number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(toLowCardinality(toLowCardinality(1)), 7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT 65537, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(toLowCardinality(toLowCardinality(1)), 7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 65537, k FROM (SELECT 1, number AS k FROM system.numbers LIMIT 3) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 2., 65536) USING (k) WHERE toLowCardinality(toLowCardinality(toLowCardinality(1)), 7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 968 out of 1000 SELECT 65537, k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), 1048576 FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 SELECT materialize(65537), k FROM ( SELECT toInt256(1), number AS k FROM system.numbers LIMIT 3 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, materialize(65537), toInt128(1048576) FROM system.numbers LIMIT 2., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 EXPLAIN PIPELINE SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT materialize(65537), k FROM (SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 972 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 973 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 974 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 975 out of 1000 SELECT materialize(65537), k FROM ( SELECT toInt256(materialize(toInt256(65535)), 1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, 65535, 65537, 65537, 1., toNullable(toNullable(62)), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) GROUP BY t__fuzz_43, t__fuzz_28, materialize(materialize(65535)) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT materialize(65537), k FROM (SELECT toInt256(materialize(toInt256(65535)), 1), 1., number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT 65537, 65535, 65537, 65537, 1., toNullable(toNullable(62)), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536) USING (k) WHERE toLowCardinality(7) GROUP BY t__fuzz_43, t__fuzz_28, materialize(materialize(65535)) ORDER BY toLowCardinality(materialize(1)) DESC NULLS FIRST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT toInt256(materialize(toInt256(65535)), 1), 1., number AS k FROM system.numbers LIMIT -2147483649. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071c9d3b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 976 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 977 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 979 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 980 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 981 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 982 out of 1000 SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, 65535, 65537, 65537, 1., 62, number AS k, toInt256(65537), 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST Error on processing query 'SELECT materialize(65537), k FROM (SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT 65537, 65535, 65537, 65537, 1., 62, number AS k, toInt256(65537), 1048576 FROM system.numbers LIMIT 1., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 983 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 985 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 986 out of 1000 EXPLAIN ESTIMATE SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(65537), k FROM (SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 987 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 988 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 EXPLAIN SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Error on processing query 'EXPLAIN SELECT materialize(65537), k FROM (SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 990 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 991 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 992 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 993 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(65537), k FROM (SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('materialize'): materialize(65537), k FROM (SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT 65537, toI. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 994 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 995 out of 1000 EXPLAIN SYNTAX SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 EXPLAIN PIPELINE SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT materialize(65537), k FROM (SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649) ANY INNER JOIN (SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 998 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 999 out of 1000 EXPLAIN AST SELECT materialize(65537), k FROM ( SELECT toInt256(1), 1., number AS k FROM system.numbers LIMIT -2147483649 ) ANY INNER JOIN ( SELECT 65537, toInt128(65535), 65537, 65537, 1., toNullable(62), number AS k, 65537, 1048576 FROM system.numbers LIMIT 1., 65536 ) USING (k) WHERE toLowCardinality(7) ORDER BY toLowCardinality(materialize(1)) DESC NULLS LAST, toInt256(1) DESC NULLS LAST Got boring AST Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(toNullable(65537))), materialize(toLowCardinality(65537)), t__fuzz_16, materialize(toNullable(1)) LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(toNullable(65537))), materialize(toLowCardinality(65537)), t__fuzz_16, materialize(toNullable(1)) LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_16' in scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(toLowCardinality(toNullable(65537))), materialize(toLowCardinality(65537)), t__fuzz_16, materialize(toNullable(1)) LIMIT 5, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 2 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 3 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(toInt256(65535), number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(toInt256(65535), number) AS b FROM system.numbers LIMIT 5, 2) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toInt256(65535), number) AS b FROM system.numbers LIMIT 5, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 4 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 2 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 2) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 5 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 6 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 7 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 8 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(materialize(toLowCardinality(1)), number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toLowCardinality(materialize(65535)) LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(materialize(toLowCardinality(1)), number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toLowCardinality(materialize(65535)) LIMIT 5, 2) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(materialize(toLowCardinality(1)), number) AS a FROM system.numbers LIMIT 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 9 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 10 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) PREWHERE 65536 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2) USING (k) PREWHERE 65536 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 12 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) GROUP BY toInt128(toInt256(1)), toLowCardinality(toLowCardinality(1.)) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2) USING (k) GROUP BY toInt128(toInt256(1)), toLowCardinality(toLowCardinality(1.)) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2) USING (k) GROUP BY toInt128(toInt256(1)), toLowCardinality(toLowCardinality(1.)) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 13 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 14 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 15 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 17 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(toLowCardinality(toLowCardinality(1.)), number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(toLowCardinality(toLowCardinality(1.)), number) AS b FROM system.numbers LIMIT 5, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(toLowCardinality(1.)), number) AS b FROM system.numbers LIMIT 5, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 18 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 19 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 20 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 21 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 22 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 5, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE t__fuzz_22 LIMIT 5, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 23 out of 1000 SELECT k, a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2) USING (k) ORDER BY k DESC NULLS LAST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 24 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 2 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 25 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, -9223372036854775807 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, -9223372036854775807) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 27 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 31 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 32 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY LEFT JOIN ( SELECT toNullable(toNullable(toInt256(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483649, 0 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY LEFT JOIN (SELECT toNullable(toNullable(toInt256(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483649, 0) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 34 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 35 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 37 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 38 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 0 LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 0 LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Positional argument number 0 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY 0 LIMIT 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 39 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 1, 0) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 1, 0) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 41 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 42 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 SELECT a, b FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 257) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0) USING (k) ORDER BY k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 44 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 45 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 46 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 SELECT a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_47 LIMIT 1048575, 0 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, toNullable(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_47 LIMIT 1048575, 0) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_47 LIMIT 1048575, 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 51 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 52 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 53 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_45 LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_45 LIMIT 1048575, 0) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_45' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_45 LIMIT 1048575, 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 54 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 55 out of 1000 EXPLAIN ESTIMATE SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 EXPLAIN ESTIMATE SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 57 out of 1000 EXPLAIN ESTIMATE SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 58 out of 1000 EXPLAIN AST SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 1024 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 1024 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 62 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(1023, number) AS b FROM system.numbers LIMIT 1048575, 256 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(1023, number) AS b FROM system.numbers LIMIT 1048575, 256) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(1023, number) AS b FROM system.numbers LIMIT 1048575, 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 63 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 1024 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 64 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 1024 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 65 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1024 ) USING (k) GROUP BY Memory, 2. ORDER BY k DESC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1024) USING (k) GROUP BY Memory, 2. ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1024) USING (k) GROUP BY Memory, 2. ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 66 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 1024 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 67 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 69 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 70 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 72 out of 1000 EXPLAIN SYNTAX SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 EXPLAIN SYNTAX SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 74 out of 1000 EXPLAIN SYNTAX SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 75 out of 1000 EXPLAIN SYNTAX SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 76 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers L. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 77 out of 1000 EXPLAIN SYNTAX SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 78 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('a'): a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers L. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 79 out of 1000 EXPLAIN SYNTAX SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 80 out of 1000 EXPLAIN SYNTAX SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 81 out of 1000 EXPLAIN SYNTAX SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 82 out of 1000 EXPLAIN ESTIMATE SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT a, b FROM ( SELECT t__fuzz_47, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT t__fuzz_47, number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT t__fuzz_47, number AS k, toString(number) AS a FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 85 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 87 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 89 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE materialize(toLowCardinality(1)) LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE materialize(toLowCardinality(1)) LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 90 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 92 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(materialize(65535)), toInt128(toInt128(65537)) LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(materialize(65535)), toInt128(toInt128(65537)) LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(materialize(65535)), toInt128(toInt128(65537)) LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 94 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 95 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 97 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 98 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(t__fuzz_29, number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(t__fuzz_29, number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 9223372036854775806) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_29' in scope SELECT number AS k, toString(t__fuzz_29, number) AS a FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 100 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 102 out of 1000 EXPLAIN PIPELINE compact = true SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775807 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE compact = true SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775807) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 103 out of 1000 SELECT a, b FROM ( SELECT number AS k, 5, toString(number) AS a FROM system.numbers PREWHERE toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62) LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a, b FROM (SELECT number AS k, 5, toString(number) AS a FROM system.numbers PREWHERE toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62) LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Decimal(76, 47): In scope SELECT number AS k, 5, toString(number) AS a FROM system.numbers PREWHERE toDecimal256(toLowCardinality(toDecimal256(1., 47)), 62) LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/DataTypes/DataTypeLowCardinality.cpp:0: DB::DataTypeLowCardinality::DataTypeLowCardinality(std::shared_ptr) @ 0x0000000010c4116c 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1460: std::shared_ptr std::allocate_shared[abi:v15007], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x000000000b7a1da3 6. /build/src/Functions/toLowCardinality.cpp:34: DB::(anonymous namespace)::FunctionToLowCardinality::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b7a1cb1 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 8. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 9. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 10. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 27. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb Fuzzing step 104 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 105 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY t__fuzz_27 ASC, k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257) USING (k) ORDER BY t__fuzz_27 ASC, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257) USING (k) ORDER BY t__fuzz_27 ASC, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 106 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 SELECT 1., a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 SELECT a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, -2 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, -2) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 109 out of 1000 SELECT 1., a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(toLowCardinality(toNullable(toInt128(65537))), number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY t__fuzz_41 ASC, k ASC NULLS FIRST Error on processing query 'SELECT 1., a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(toLowCardinality(toNullable(toInt128(65537))), number) AS b FROM system.numbers LIMIT 255, 257) USING (k) ORDER BY t__fuzz_41 ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(toNullable(toInt128(65537))), number) AS b FROM system.numbers LIMIT 255, 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 110 out of 1000 SELECT 1., a, materialize(materialize(toNullable(65537))), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 SELECT 1., a, materialize(materialize(toNullable(65537))), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 112 out of 1000 SELECT 1., a, materialize(materialize(toNullable(toNullable(toLowCardinality(65537)), 65537))), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 1., a, materialize(materialize(toNullable(toNullable(toLowCardinality(65537)), 65537))), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 1., a, materialize(materialize(toNullable(toNullable(toLowCardinality(65537)), 65537))), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 113 out of 1000 SELECT 1., a, materialize(toNullable(65537)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 SELECT 1., a, materialize(toNullable(65537)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 115 out of 1000 SELECT 1., a, materialize(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 SELECT 1., a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toNullable(65537) LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 256 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 1., a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toNullable(65537) LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 256) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 117 out of 1000 SELECT 1., a, materialize(65537), b FROM ( SELECT number AS k, toString(materialize(toNullable(65537)), number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) GROUP BY materialize(65537) ORDER BY k ASC Error on processing query 'SELECT 1., a, materialize(65537), b FROM (SELECT number AS k, toString(materialize(toNullable(65537)), number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257) USING (k) GROUP BY materialize(65537) ORDER BY k ASC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(materialize(toNullable(65537)), number) AS a FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 118 out of 1000 SELECT 1., a, materialize(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 SELECT 1., a, materialize(toInt128(65537)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT 1., a, materialize(toInt128(65537)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 123 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 124 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 126 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, -9223372036854775808 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, -9223372036854775808) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 127 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 128 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 129 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, t__fuzz_11, toString(number) AS b FROM system.numbers LIMIT 255, 1 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1., a, toInt128(65537), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, t__fuzz_11, toString(number) AS b FROM system.numbers LIMIT 255, 1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_11' in scope SELECT number AS k, t__fuzz_11, toString(number) AS b FROM system.numbers LIMIT 255, 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 130 out of 1000 SELECT 1., a, toInt128(65537), materialize(materialize(toLowCardinality(toInt128(toInt256(65535)))), toLowCardinality(toInt128(toInt256(65535)))), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775807 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., a, toInt128(65537), materialize(materialize(toLowCardinality(toInt128(toInt256(65535)))), toLowCardinality(toInt128(toInt256(65535)))), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775807) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 257) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 131 out of 1000 SELECT materialize(1.), a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 SELECT materialize(toLowCardinality(1.)), a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toNullable(toDecimal256(1., 62)) LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(toLowCardinality(1.)), a, toInt128(65537), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toNullable(toDecimal256(1., 62)) LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 133 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1025 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 1025 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 134 out of 1000 SELECT materialize(1.), a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toInt128(1), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT materialize(1.), a, toInt128(65537), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toInt128(1), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toDecimal256'. Expected 2 arguments, got 3 arguments: In scope SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toInt128(1), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::(anonymous namespace)::NameToDecimal256, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x0000000007324f61 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000731747b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 135 out of 1000 SELECT materialize(1.), a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(materialize(1), 62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT materialize(1.), a, toInt128(65537), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(materialize(1), 62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(materialize(1), 62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 136 out of 1000 SELECT materialize(1.), a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 SELECT materialize(1.), a, toInt128(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 141 out of 1000 EXPLAIN optimize = true SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN optimize = true SELECT materialize(1.), a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(toLowCardinality(1.), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "optimize" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 142 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 143 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 145 out of 1000 SELECT materialize(toNullable(1.)), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(toLowCardinality(1.), 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 SELECT materialize(toNullable(1.)), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 147 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT number AS k, t__fuzz_40, toString(number) AS a FROM system.numbers LIMIT -2147483648 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT toNullable(1.), a, 65537, b FROM (SELECT number AS k, t__fuzz_40, toString(number) AS a FROM system.numbers LIMIT -2147483648) ANY LEFT JOIN (SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_40' in scope SELECT number AS k, t__fuzz_40, toString(number) AS a FROM system.numbers LIMIT -2147483648. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 148 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT toNullable(1.), a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(1., 62), number AS k FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT toNullable(1.), a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(1., 62), number AS k FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 149 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 151 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) WHERE toLowCardinality(toNullable(65535)) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY LEFT JOIN (SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) WHERE toLowCardinality(toNullable(65535)) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 152 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, t__fuzz_31, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) PREWHERE t__fuzz_22 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT number AS k, t__fuzz_31, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) PREWHERE t__fuzz_22 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_31' in scope SELECT number AS k, t__fuzz_31, toString(number) AS a FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 153 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, NULL ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, NULL) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 154 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 157 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toInt128(toInt256(toNullable(toInt128(1048576)), 65535)) LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toInt128(toInt256(toNullable(toInt128(1048576)), 65535)) LIMIT 3) ANY LEFT JOIN (SELECT toDecimal256(1., 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toInt128(toInt256(toNullable(toInt128(1048576)), 65535)) LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000071c9ea0 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 158 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 159 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 160 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY LEFT JOIN ( SELECT 1., 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY LEFT JOIN (SELECT 1., 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 161 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, t__fuzz_6, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT number AS k, t__fuzz_6, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT 1., 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_6' in scope SELECT number AS k, t__fuzz_6, toString(number) AS a FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 162 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 163 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 164 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 256 LIMIT 3 ) ANY LEFT JOIN ( SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 256 LIMIT 3) ANY LEFT JOIN (SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 1048575, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toString(number) LIMIT 1048575, 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 166 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000174665 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 167 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 169 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(65537) LIMIT 3 ) ANY LEFT JOIN ( SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(65537) LIMIT 3) ANY LEFT JOIN (SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column materialize(65537_UInt32) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 170 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT materialize(toDecimal32(1., 0)), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT materialize(toLowCardinality(toNullable(1))), number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT materialize(toLowCardinality(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 175 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 177 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 178 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 179 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 180 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 181 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 182 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 183 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 184 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 185 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 186 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 187 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 188 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 189 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 190 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 191 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 192 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 193 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 194 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 195 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 196 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 197 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 198 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 199 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 200 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 201 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 202 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 203 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 204 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 205 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 206 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 207 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 208 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 209 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 210 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 211 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 212 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 213 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 214 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 215 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 216 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 217 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 218 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 219 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 220 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 221 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 222 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 223 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 224 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 225 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 226 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 227 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 228 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 229 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 230 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 231 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 232 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 233 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 234 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 235 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 236 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 237 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 238 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 239 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 240 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 241 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 242 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 243 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 244 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 245 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 246 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 247 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 248 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 249 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 250 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 251 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 252 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 253 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 254 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 255 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 256 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 257 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 258 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 259 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 260 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 261 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 262 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 263 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 264 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 265 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 266 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 267 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 268 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 269 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 270 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT materialize(toNullable(materialize(toNullable(65537)))), toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT materialize(toNullable(materialize(toNullable(65537)))), toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 271 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 272 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 273 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 274 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 275 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 276 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 277 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 278 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 279 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 280 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 281 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 282 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 283 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 284 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 285 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 1024 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 1024) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 1024. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 286 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 287 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 288 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 289 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 290 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 291 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 292 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 293 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 294 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 295 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 296 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 297 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 298 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 299 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 300 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 301 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 302 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 303 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 304 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 305 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 306 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 307 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 308 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 309 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 310 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 311 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 312 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 313 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 314 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 315 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 316 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 317 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 318 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 319 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 320 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 321 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 322 out of 1000 SELECT 1., a, 65537 FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1., a, 65537 FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 323 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 324 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 325 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 326 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 327 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 328 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, -9223372036854775808 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, -9223372036854775808) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 329 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(t__fuzz_19, number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 257 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(t__fuzz_19, number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 257) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_19' in scope SELECT 1, number AS k, toString(t__fuzz_19, number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 330 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 331 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 332 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 333 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 334 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 335 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 336 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 337 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 338 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 339 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 340 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 341 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 342 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 343 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 344 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 345 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 346 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 347 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 348 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 349 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 350 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 351 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 352 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 353 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 354 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 355 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 356 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 357 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 358 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 359 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 360 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 361 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 362 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 363 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 364 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 365 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 366 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(toInt256(toLowCardinality(toLowCardinality(65537))), number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., toLowCardinality(0)), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(toInt256(toLowCardinality(toLowCardinality(65537))), number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., toLowCardinality(0)), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 1, number AS k, toString(toInt256(toLowCardinality(toLowCardinality(65537))), number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 367 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 368 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 369 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 370 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 9223372036854775806 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 9223372036854775806) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 371 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 372 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 373 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 374 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 375 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 376 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 377 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 378 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 379 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 380 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 381 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 382 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 383 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 384 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 385 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 386 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 387 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 388 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 389 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 390 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 391 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 392 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 393 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 394 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 395 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 396 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 397 out of 1000 SELECT materialize(1.), a, materialize(toLowCardinality(toInt128(65537))), b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, materialize(toLowCardinality(toInt128(65537))), b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 398 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 399 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 400 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 401 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 402 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 403 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 404 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 405 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 406 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 407 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 408 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 409 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 410 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 411 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 412 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 413 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 414 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 415 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 416 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 417 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 418 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 419 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 420 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 421 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 422 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 423 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 424 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 425 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 426 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 427 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 428 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 429 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 430 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 431 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 432 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 433 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 434 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 435 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 436 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 437 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 438 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 439 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 440 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 441 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 442 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 443 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 444 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 445 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 446 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 447 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 448 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 449 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 450 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 451 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 452 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 453 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 455 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 456 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 457 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 458 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 459 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 460 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 461 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 462 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 463 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 464 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 465 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 466 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 467 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 468 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 469 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 470 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 471 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 472 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 473 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 474 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 475 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 476 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 477 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 478 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 479 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 480 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 481 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 482 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 483 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 484 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 485 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 486 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 487 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 488 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 489 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 490 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 491 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) GROUP BY t__fuzz_8, number ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) GROUP BY t__fuzz_8, number ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_8' in scope SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) GROUP BY t__fuzz_8, number ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 492 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 493 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 494 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 495 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 496 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 497 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 498 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 499 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 500 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 501 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 502 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 503 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 504 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 505 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(1024) WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(1024) WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(1024) WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 506 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 507 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 508 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 509 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 510 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 511 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 512 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 513 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 514 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 515 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 516 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 517 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 518 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 519 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 520 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 521 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 522 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 523 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 524 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 525 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 526 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 527 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 528 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 529 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 530 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 531 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 532 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 533 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 534 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 535 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 536 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 537 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 538 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 539 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 540 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 541 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 542 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 543 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 544 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 545 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(materialize(1.), 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(materialize(1.), 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 546 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 547 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 548 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 549 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 550 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 551 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 552 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 553 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 554 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 555 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 556 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 557 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 558 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 559 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 560 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 561 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 562 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 563 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 564 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 565 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 566 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 567 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 568 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 569 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 570 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 571 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 572 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 573 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 574 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 575 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 576 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 577 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 578 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 579 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 580 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 581 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 582 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 583 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 584 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 585 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 586 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 587 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 588 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 589 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 590 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 591 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 592 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 593 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 594 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 595 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_22 WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_22 WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_22 WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 596 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 597 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 598 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 599 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 600 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 601 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 602 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 603 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 604 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 605 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 606 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 607 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 608 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 609 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 610 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 611 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 612 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 613 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 614 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 615 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 616 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 617 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 618 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 619 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 620 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 621 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 622 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 623 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 624 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 625 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 626 out of 1000 SELECT materialize(toLowCardinality(1.)), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(toLowCardinality(1.)), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 627 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 628 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 629 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 630 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 631 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 632 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 633 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 634 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 635 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 637 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 638 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 639 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 640 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 641 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 642 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 643 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 644 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 645 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 646 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 647 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 648 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 649 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 650 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 651 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 652 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 653 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 654 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 655 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 656 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 657 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 658 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 659 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 660 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 661 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 662 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 663 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 664 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 665 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 666 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 667 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 668 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 669 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 670 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 671 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 672 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 673 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 674 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 675 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 676 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 677 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 678 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 679 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 680 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 681 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 682 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 683 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 684 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 685 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 686 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 687 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 688 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 689 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 690 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 691 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 692 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 693 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 694 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 695 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 696 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 697 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 698 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 699 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 700 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 701 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 702 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 703 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 704 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 705 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 706 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 707 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 708 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 709 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 710 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 711 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 712 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 713 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 714 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 715 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 716 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 717 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 718 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 719 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 720 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 721 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 722 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) PREWHERE t__fuzz_41 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) PREWHERE t__fuzz_41 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 723 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 724 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 725 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 726 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 727 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 728 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) GROUP BY toLowCardinality(65537), toDecimal256(1., 62), 255 ORDER BY k DESC Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) GROUP BY toLowCardinality(65537), toDecimal256(1., 62), 255 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 729 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 730 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 731 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 732 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 733 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 734 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 735 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 736 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 737 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 738 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 739 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 740 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 741 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 742 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 743 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 744 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 745 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 746 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 747 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 748 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 749 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 750 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 751 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 752 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 753 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 754 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 755 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 756 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 757 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 758 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 759 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 760 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 761 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 762 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 763 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 764 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 765 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 766 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 767 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 768 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 769 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 770 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 771 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 772 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 773 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 774 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 775 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 776 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 777 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT toLowCardinality(toNullable(toInt256(1))), number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT toLowCardinality(toNullable(toInt256(1))), number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT toLowCardinality(toNullable(toInt256(1))), number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 778 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 779 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 780 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 781 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 782 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 783 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 784 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 785 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 786 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 787 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 788 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 789 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 790 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 791 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 792 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 793 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 794 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 795 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 796 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 797 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 798 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 799 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 800 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 801 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 802 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 803 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 804 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 805 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 806 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 807 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 808 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 809 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 810 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 811 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 812 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 813 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 814 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 815 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 816 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 817 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 818 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 819 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 820 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 821 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 822 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 823 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 824 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 825 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 826 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 827 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 828 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 829 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 830 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 831 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 832 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 833 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 834 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 835 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 836 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 837 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 838 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 839 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 840 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 841 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 842 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 843 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 844 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 845 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 846 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 847 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 848 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 849 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 850 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 851 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 852 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 853 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 854 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 855 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 856 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 857 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 858 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 859 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 860 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 861 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 862 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 863 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 864 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 865 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 866 out of 1000 EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SYNTAX SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_22' while processing query: 'SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3', required columns: 'number' 't__fuzz_22', maybe you meant: 'number': While processing SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 867 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 868 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 869 out of 1000 EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN QUERY TREE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 870 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 871 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 872 out of 1000 EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN ESTIMATE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 873 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 874 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 875 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 876 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 877 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 878 out of 1000 EXPLAIN SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_22' in scope SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 879 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 880 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('materialize'): materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3) ANY LEFT JOIN (SELECT t. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 881 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 882 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 883 out of 1000 EXPLAIN AST SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_22 LIMIT 3 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 884 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 885 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483649 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 257 ) USING (k) PREWHERE materialize(toNullable(1048576)) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483649) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 257) USING (k) PREWHERE materialize(toNullable(1048576)) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 886 out of 1000 SELECT materialize(toNullable(1.)), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 SELECT materialize(toNullable(1.)), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 888 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_0 LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_0 LIMIT 1048575, 257) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_0' in scope SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_0 LIMIT 1048575, 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 889 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 257 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 890 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, materialize(toUInt128(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 892 out of 1000 SELECT a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toInt128(65537)) LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, materialize(toUInt128(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toInt128(65537)) LIMIT 3) ANY LEFT JOIN (SELECT 1., 0, materialize(toUInt128(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 893 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, materialize(toUInt128(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 894 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT 1, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, materialize(toUInt128(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT toNullable(1.), a, 65537, b FROM (SELECT 1, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT 1., 0, materialize(toUInt128(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 257) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY LEFT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT toNullable(1.), a, 65537, b FROM (SELECT 1, toString(number) AS a FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT 1., 0, materialize(toUInt128(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 257) USING (k) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 895 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 SELECT toNullable(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 900 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 901 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(toLowCardinality(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 257 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 905 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(toUInt256(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 906 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, t__fuzz_15, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575 ) USING (k) GROUP BY toString(number), toInt256(materialize(1)), materialize(toNullable(toNullable(65537))) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, t__fuzz_15, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575) USING (k) GROUP BY toString(number), toInt256(materialize(1)), materialize(toNullable(toNullable(65537))) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT 1, t__fuzz_15, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 908 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(materialize(toNullable(1)), number) AS b FROM system.numbers LIMIT 7, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, toUInt128(62), number AS k, toString(materialize(toNullable(1)), number) AS b FROM system.numbers LIMIT 7, 1048575) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 1., 0, toUInt128(62), number AS k, toString(materialize(toNullable(1)), number) AS b FROM system.numbers LIMIT 7, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 909 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, -2147483648 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY LEFT JOIN (SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, -2147483648) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 910 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toInt256(65535)) LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toInt256(65535)) LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Int256 of column materialize(_CAST('65535'_Int256, 'Int256'_String)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 912 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 914 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt128(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65536 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt128(62), number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(toInt128(65537)), t__fuzz_47 LIMIT 7, 65536 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., toNullable(0), toUInt128(62), number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(toInt128(65537)), t__fuzz_47 LIMIT 7, 65536) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT 1., toNullable(0), toUInt128(62), number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(toInt128(65537)), t__fuzz_47 LIMIT 7, 65536. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 916 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65536 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 917 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 918 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 919 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 1023 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 922 out of 1000 SELECT materialize(0., 1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(0., 1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT materialize(0., 1.), a, 65537, b FROM (SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 923 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 924 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 925 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT materialize(toInt256(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 EXPLAIN PIPELINE SELECT materialize(1.), a, toLowCardinality(toInt256(65535)), 65537, b FROM ( SELECT toInt256(1), number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toLowCardinality(toInt128(toInt256(65535)))), t__fuzz_15 LIMIT 65535 ) ANY LEFT JOIN ( SELECT toDecimal64(1., 10), 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483649, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT materialize(1.), a, toLowCardinality(toInt256(65535)), 65537, b FROM (SELECT toInt256(1), number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toLowCardinality(toInt128(toInt256(65535)))), t__fuzz_15 LIMIT 65535) ANY LEFT JOIN (SELECT toDecimal64(1., 10), 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483649, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT toInt256(1), number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toLowCardinality(toInt128(toInt256(65535)))), t__fuzz_15 LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 927 out of 1000 SELECT materialize(1.), a, 65537, b FROM ( SELECT materialize(toInt256(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 928 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT materialize(toInt256(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) GROUP BY 62, t__fuzz_1, 1048576 ORDER BY k DESC Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT materialize(toInt256(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) GROUP BY 62, t__fuzz_1, 1048576 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Positional argument number 62 is out of bounds. Expected in range [1, 4]. In scope SELECT 1., a, 65537, b FROM (SELECT materialize(toInt256(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 0) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) GROUP BY 62, t__fuzz_1, 1048576 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 929 out of 1000 EXPLAIN PIPELINE SELECT 1., a, 65537, b FROM ( SELECT toInt256(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(t__fuzz_17, number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT 1., a, 65537, b FROM (SELECT toInt256(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, toUInt256(62), number AS k, toString(t__fuzz_17, number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_17' in scope SELECT 1., 0, toUInt256(62), number AS k, toString(t__fuzz_17, number) AS b FROM system.numbers LIMIT 65536, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 22. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 23. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 930 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT materialize(toInt256(toInt128(1))), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 SELECT 1., a, 65537, b FROM ( SELECT materialize(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(toNullable(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1., a, 65537, b FROM (SELECT materialize(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, toUInt256(toNullable(62)), number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00010564 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 933 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT materialize(toInt128(1)), number AS k FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 65535, 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1., a, toInt128(65537), b FROM (SELECT materialize(toInt128(1)), number AS k FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 65535, 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT 1., a, toInt128(65537), b FROM (SELECT materialize(toInt128(1)), number AS k FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 65535, 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) ORDER BY k DESC. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 934 out of 1000 SELECT 1., a, toInt128(65537), b FROM ( SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT toInt128(t__fuzz_1, 65537), 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 1., a, toInt128(65537), b FROM (SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT toInt128(t__fuzz_1, 65537), 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_1' in scope SELECT toInt128(t__fuzz_1, 65537), 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 935 out of 1000 SELECT toDecimal64(1., 16), a, 65537, b FROM ( SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 936 out of 1000 SELECT toDecimal64(1., 16), a, 65537, b FROM ( SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_47 LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(t__fuzz_33, 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT toDecimal64(1., 16), a, 65537, b FROM (SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_47 LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, toUInt256(t__fuzz_33, 62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_47 LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 937 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 938 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 939 out of 1000 EXPLAIN `header, description` = true SELECT 1., 16, a, 65537, b FROM ( SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN `header, description` = true SELECT 1., 16, a, 65537, b FROM (SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown setting "header, description" for EXPLAIN PLAN query. Supported settings: sorting, optimize, indexes, json, actions, description, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [5], String&&) @ 0x000000001158a80b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x00000000115860e2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 940 out of 1000 SELECT 1., 16, a, materialize(65537), b FROM ( SELECT materialize(toInt128(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, toUInt256(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 10 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT 1., 16, a, materialize(65537), b FROM ( SELECT materialize(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., 0, 62, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 942 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT materialize(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 65536, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT materialize(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 65536, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 944 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT materialize(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT 1., toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 65536, -9223372036854775808 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1., 16, a, 65537, b FROM (SELECT materialize(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY LEFT JOIN (SELECT 1., toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 65536, -9223372036854775808) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 945 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT materialize(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY LEFT JOIN ( SELECT toNullable(toDecimal128(1., 30)), toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 65536, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT materialize(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toNullable(toDecimal128(1., 30)), toNullable(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 65536, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT toLowCardinality(1), materialize(toNullable(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal128(1., 30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT toLowCardinality(1), materialize(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal128(1., 30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT toLowCardinality(1), materialize(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal128(1., 30), 0, materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 SELECT 1., toLowCardinality(16), a, 65537, b FROM ( SELECT toLowCardinality(1), materialize(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal128(1., 30), toLowCardinality(toNullable(0)), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT 1., toLowCardinality(16), a, 65537, b FROM ( SELECT toLowCardinality(1), materialize(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal128(materialize(toNullable(1.)), toLowCardinality(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 952 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(toNullable(1.)), toLowCardinality(30), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(toNullable(1.)), toLowCardinality(toNullable(toLowCardinality(65537)), 30), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., 16, a, 65537, b FROM (SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT materialize(toNullable(1.)), toLowCardinality(toNullable(toLowCardinality(65537)), 30), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT materialize(toNullable(1.)), toLowCardinality(toNullable(toLowCardinality(65537)), 30), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 954 out of 1000 SELECT 1., toLowCardinality(16), a, 65537, b FROM ( SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 255 ) ANY LEFT JOIN ( SELECT toNullable(1.), toLowCardinality(30), toLowCardinality(toNullable(-0.), 0), materialize(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1., toLowCardinality(16), a, 65537, b FROM (SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 255) ANY LEFT JOIN (SELECT toNullable(1.), toLowCardinality(30), toLowCardinality(toNullable(-0.), 0), materialize(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toNullable(1.), toLowCardinality(30), toLowCardinality(toNullable(-0.), 0), materialize(62), number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 955 out of 1000 EXPLAIN AST graph = true, optimize = true SELECT 1., 16, a, 65537, b FROM ( SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(1.), toLowCardinality(toUInt128(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN AST graph = true, optimize = true SELECT 1., 16, a, 65537, b FROM (SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT materialize(1.), toLowCardinality(toUInt128(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "graph" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 956 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(toNullable(1.)), 30, toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY materialize(t__fuzz_1, 1048576) ASC, k ASC NULLS FIRST Error on processing query 'SELECT 1., 16, a, 65537, b FROM (SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT materialize(toNullable(1.)), 30, toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY materialize(t__fuzz_1, 1048576) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_1' in scope SELECT 1., 16, a, 65537, b FROM (SELECT toLowCardinality(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT materialize(toNullable(1.)), 30, toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY materialize(t__fuzz_1, 1048576) ASC, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 11. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 15. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 16. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 25. ? @ 0x00007ffa70350ac3 26. ? @ 0x00007ffa703e2850 Fuzzing step 957 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(toNullable(1.)), toLowCardinality(30), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 SELECT 1., materialize(16), a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(toNullable(1.)), toLowCardinality(toUInt128(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(toNullable(1.)), toLowCardinality(toUInt128(30)), toLowCardinality(t__fuzz_20, 0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., 16, a, 65537, b FROM (SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT materialize(toNullable(1.)), toLowCardinality(toUInt128(30)), toLowCardinality(t__fuzz_20, 0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_20' in scope SELECT materialize(toNullable(1.)), toLowCardinality(toUInt128(30)), toLowCardinality(t__fuzz_20, 0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 960 out of 1000 SELECT 1., materialize(16), a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY LEFT JOIN ( SELECT materialize(toNullable(1.)), toLowCardinality(toUInt128(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) GROUP BY t__fuzz_6, toNullable(toInt256(1)), 16 LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., materialize(16), a, 65537, b FROM (SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY LEFT JOIN (SELECT materialize(toNullable(1.)), toLowCardinality(toUInt128(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) GROUP BY t__fuzz_6, toNullable(toInt256(1)), 16 LIMIT 3, 100) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 16 is out of bounds. Expected in range [1, 6]. In scope SELECT materialize(toNullable(1.)), toLowCardinality(toUInt128(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) GROUP BY t__fuzz_6, toNullable(toInt256(1)), 16 LIMIT 3, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 961 out of 1000 SELECT 1., materialize(16), a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toNullable(1.), toLowCardinality(toUInt128(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 962 out of 1000 SELECT 1., materialize(16), a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toNullable(1.), toLowCardinality(toUInt128(30)), toLowCardinality(0), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 963 out of 1000 SELECT 1., materialize(16), a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toNullable(1.), toLowCardinality(toUInt128(30)), 0, materialize(materialize(toInt128(1)), 62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., materialize(16), a, 65537, b FROM (SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT toNullable(1.), toLowCardinality(toUInt128(30)), 0, materialize(materialize(toInt128(1)), 62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toNullable(1.), toLowCardinality(toUInt128(30)), 0, materialize(materialize(toInt128(1)), 62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 964 out of 1000 SELECT 1., materialize(16), a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toNullable(1.), toLowCardinality(30), toLowCardinality(toNullable(0)), materialize(62), number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(toNullable(0)), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(toNullable(0)), 62, number AS k, toString(number) AS b FROM system.numbers PREWHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., 16, a, 65537, b FROM (SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT 1., toLowCardinality(30), toLowCardinality(toNullable(0)), 62, number AS k, toString(number) AS b FROM system.numbers PREWHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 967 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(toNullable(0)), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, toLowCardinality(t__fuzz_15, 1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(toNullable(0)), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., 16, a, 65537, b FROM (SELECT 1, toLowCardinality(t__fuzz_15, 1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT 1., toLowCardinality(30), toLowCardinality(toNullable(0)), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_15' in scope SELECT 1, toLowCardinality(t__fuzz_15, 1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 969 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, toLowCardinality(t__fuzz_39, 1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., 16, a, 65537, b FROM (SELECT 1, toLowCardinality(t__fuzz_39, 1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT 1., toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_39' in scope SELECT 1, toLowCardinality(t__fuzz_39, 1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 971 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(toInt128(1048576), 0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1., 16, a, 65537, b FROM (SELECT 1, toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT 1., toLowCardinality(30), toLowCardinality(toInt128(1048576), 0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 1., toLowCardinality(30), toLowCardinality(toInt128(1048576), 0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 972 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 SELECT 1., 16, a, materialize(toNullable(65537)), b FROM ( SELECT 1, toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT -1 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., 16, a, materialize(toNullable(65537)), b FROM (SELECT 1, toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT -1) ANY LEFT JOIN (SELECT 1., toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 974 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 1., 16, a, 65537, b FROM ( SELECT 1, toLowCardinality(1), number AS k, toString(toLowCardinality(1), number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(toLowCardinality(1.)), toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 1., 16, a, 65537, b FROM (SELECT 1, toLowCardinality(1), number AS k, toString(toLowCardinality(1), number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT materialize(toLowCardinality(1.)), toLowCardinality(30), toLowCardinality(0), 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 976 out of 1000 SELECT 1., 16, a, 65537, b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 EXPLAIN PIPELINE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 978 out of 1000 EXPLAIN ESTIMATE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 EXPLAIN ESTIMATE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Got boring AST Fuzzing step 980 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1., 16, a, toInt128(65537), b FROM (SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('1.'): 1., 16, a, toInt128(65537), b FROM (SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 981 out of 1000 EXPLAIN QUERY TREE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 EXPLAIN ESTIMATE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 EXPLAIN ESTIMATE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Got boring AST Fuzzing step 984 out of 1000 EXPLAIN ESTIMATE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Got boring AST Fuzzing step 985 out of 1000 EXPLAIN ESTIMATE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Got boring AST Fuzzing step 986 out of 1000 EXPLAIN SYNTAX SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 EXPLAIN SYNTAX SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT 1, 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 1025, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Got boring AST Fuzzing step 988 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) GROUP BY number, toDecimal64(1., 16) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, k DESC Error on processing query 'SELECT 1., 16, a, toInt128(65537), b FROM (SELECT toNullable(1), 1, number AS k FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT toDecimal32(1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) GROUP BY number, toDecimal64(1., 16) LIMIT 2147483646, 100) USING (k) WHERE toLowCardinality(7) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT 1., 16, a, toInt128(65537), b FROM (SELECT toNullable(1), 1, number AS k FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT toDecimal32(1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) GROUP BY number, toDecimal64(1., 16) LIMIT 2147483646, 100) USING (k) WHERE toLowCardinality(7) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, k DESC. Maybe you meant: ['0']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 990 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal32(76, 1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC Error on processing query 'SELECT 1., 16, a, toInt128(65537), b FROM (SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT toDecimal32(76, 1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toDecimal32'. Expected 2 arguments, got 3 arguments: In scope SELECT toDecimal32(76, 1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000072f9401 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072ebfbb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 991 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 992 out of 1000 EXPLAIN ESTIMATE SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal32(1.), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) PREWHERE t__fuzz_21 WHERE toLowCardinality(7) GROUP BY t__fuzz_29 ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT 1., 16, a, toInt128(65537), b FROM (SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT toDecimal32(1.), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100) USING (k) PREWHERE t__fuzz_21 WHERE toLowCardinality(7) GROUP BY t__fuzz_29 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toDecimal32'. Expected 2 arguments, got 1 argument: In scope SELECT toDecimal32(1.), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000072f9401 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072ebfbb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 27. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 993 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(toNullable(1)), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal32(6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT 1., 16, a, toInt128(65537), b FROM (SELECT toNullable(toNullable(1)), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT toDecimal32(6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100) USING (k) WHERE toLowCardinality(7) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toDecimal32'. Expected 2 arguments, got 1 argument: In scope SELECT toDecimal32(6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000072f9401 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072ebfbb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 994 out of 1000 SELECT 1., 16, a, toInt128(toLowCardinality(65537)), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT toDecimal32(1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) PREWHERE toDecimal128(1., 30) WHERE toLowCardinality(7) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT 1., 16, a, toInt128(toLowCardinality(65537)), b FROM (SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT toDecimal32(1., 6), toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100) USING (k) PREWHERE toDecimal128(1., 30) WHERE toLowCardinality(7) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 995 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., 6, toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., 6, toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 997 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT materialize(1.), 6, toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, -1 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT 1., 16, a, toInt128(65537), b FROM (SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255) ANY LEFT JOIN (SELECT materialize(1.), 6, toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, -1) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 998 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), toLowCardinality(1), number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., 6, toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 SELECT 1., 16, a, toInt128(65537), b FROM ( SELECT toNullable(1), 1, number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY LEFT JOIN ( SELECT 1., 6, toLowCardinality(30), 0, 62, number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 2147483646, 100 ) USING (k) WHERE toLowCardinality(7) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) WHERE t__fuzz_4 ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) WHERE t__fuzz_4 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_4' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) WHERE t__fuzz_4 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 2 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 3 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_6 LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_6 LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_6' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_6 LIMIT 5, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 4 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) WHERE 30 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 5 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048577 ) USING (k) WHERE 30 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 6 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 65535 LIMIT 5, 1048577 ) USING (k) WHERE 30 ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 65535 LIMIT 5, 1048577) USING (k) WHERE 30 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 7 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048577 ) USING (k) WHERE 30 ORDER BY k ASC Got boring AST Fuzzing step 8 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048577 ) USING (k) WHERE 30 ORDER BY k ASC Got boring AST Fuzzing step 9 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toDecimal64(1., 16) LIMIT 5, 1048577 ) USING (k) WHERE 30 ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toDecimal64(1., 16) LIMIT 5, 1048577) USING (k) WHERE 30 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 10 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 30 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 30 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 100 ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 100 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 14 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 100 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 15 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(toNullable(1048576)), toNullable(toDecimal256(toLowCardinality(toDecimal256(materialize(1.), 47)), 62), 65537), 1023, toLowCardinality(toLowCardinality(toNullable(65537))), materialize(materialize(65537)) LIMIT 2147483647, 3.4028234663852886e38 ) USING (k) WHERE 100 ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(toNullable(1048576)), toNullable(toDecimal256(toLowCardinality(toDecimal256(materialize(1.), 47)), 62), 65537), 1023, toLowCardinality(toLowCardinality(toNullable(65537))), materialize(materialize(65537)) LIMIT 2147483647, 3.4028234663852886e38) USING (k) WHERE 100 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 1023 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(toNullable(1048576)), toNullable(toDecimal256(toLowCardinality(toDecimal256(materialize(1.), 47)), 62), 65537), 1023, toLowCardinality(toLowCardinality(toNullable(65537))), materialize(materialize(65537)) LIMIT 2147483647, 3.4028234663852886e38. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 16 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 100 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 17 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 100 ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 18 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 100 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048577 ) USING (k) WHERE 100 ORDER BY k ASC Got boring AST Fuzzing step 20 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) WHERE 1 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1048575 ) USING (k) WHERE 1 ORDER BY k ASC Got boring AST Fuzzing step 22 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) WHERE 1 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) WHERE 1 ORDER BY k ASC Got boring AST Fuzzing step 24 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) WHERE 1 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) PREWHERE 1 WHERE 1 ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) PREWHERE 1 WHERE 1 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 26 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) WHERE 257 ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) WHERE 257 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 27 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) WHERE 1 ORDER BY k DESC Got boring AST Fuzzing step 28 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) WHERE 1 ORDER BY k DESC Got boring AST Fuzzing step 29 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 32 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 34 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 35 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 36 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 38 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 39 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 41 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 42 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 43 out of 1000 SELECT k, a, 1, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE 1 ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 44 out of 1000 SELECT k, a, 1, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(toInt128(toInt128(65537)), number) AS b FROM system.numbers LIMIT 65535, -2147483648 ) USING (k) WHERE 1 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(toInt128(toInt128(65537)), number) AS b FROM system.numbers LIMIT 65535, -2147483648) USING (k) WHERE 1 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toInt128(toInt128(65537)), number) AS b FROM system.numbers LIMIT 65535, -2147483648. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 45 out of 1000 EXPLAIN AST SELECT k, a, 1, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 46 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 EXPLAIN AST SELECT k, a, 1, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 SELECT k, a, 1, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT toLowCardinality(toLowCardinality(toLowCardinality(1024))), k, a, 1, b FROM ( SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(65537, number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(toLowCardinality(toLowCardinality(1024))), k, a, 1, b FROM (SELECT toNullable(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(65537, number) AS b FROM system.numbers LIMIT 65535, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(65537, number) AS b FROM system.numbers LIMIT 65535, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 50 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 52 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers WHERE Memory GROUP BY 1, toDecimal64(1., 16), toLowCardinality(1) LIMIT 10 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) WHERE t__fuzz_14 ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers WHERE Memory GROUP BY 1, toDecimal64(1., 16), toLowCardinality(1) LIMIT 10) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 1023) USING (k) WHERE t__fuzz_14 ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT 65535, number AS k, toString(number) AS a FROM system.numbers WHERE Memory GROUP BY 1, toDecimal64(1., 16), toLowCardinality(1) LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 53 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, -9223372036854775807 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, -9223372036854775807) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 54 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 55 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1023 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1023) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000130254 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 56 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a, 1, b FROM (SELECT 65535, number AS k FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1023) USING (k) ORDER BY k DESC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 58 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 1023) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 65535, 1023) USING (k) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 60 out of 1000 SELECT k, a, 1, toDecimal256(1., 47), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toInt256(65535) LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, toDecimal256(1., 47), b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toInt256(65535) LIMIT 65535, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 61 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 62 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 63 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 64 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toNullable(toInt256(65535))), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toNullable(toInt256(65535))), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 66 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toNullable(toInt256(65535))), number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toNullable(65535)) LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(toNullable(toInt256(65535))), number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toNullable(65535)) LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 67 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toInt256(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toInt256(65535)), number AS k, toString(number) AS a FROM system.numbers WHERE 2147483647 LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(toInt256(65535)), number AS k, toString(number) AS a FROM system.numbers WHERE 2147483647 LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 69 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toInt256(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 1023 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(toInt256(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 1023) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 70 out of 1000 SELECT k, a, 1, b FROM ( SELECT toInt256(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 71 out of 1000 SELECT k, a, 1, b FROM ( SELECT toInt256(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 72 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT toInt256(toLowCardinality(65535), 65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, 1, b FROM (SELECT toInt256(toLowCardinality(65535), 65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1024, 1023) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT toInt256(toLowCardinality(65535), 65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071c9d3b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 27. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 73 out of 1000 SELECT k, a, 1, b FROM ( SELECT toInt256(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 SELECT k, a, 1, b FROM ( SELECT toInt256(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1023 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 75 out of 1000 SELECT k, a, 1, b FROM ( SELECT toInt256(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 77 out of 1000 SELECT k, a, 1, b FROM ( SELECT toInt256(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) WHERE toNullable(65537) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT toInt256(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) WHERE toNullable(65537) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 78 out of 1000 SELECT k, a, 1, b FROM ( SELECT toInt256(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 79 out of 1000 SELECT k, a, toInt128(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 SELECT k, a, toInt128(1), b FROM ( SELECT toInt128(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 81 out of 1000 SELECT k, a, toInt128(1), b FROM ( SELECT toInt128(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 82 out of 1000 SELECT k, a, toInt128(1), b FROM ( SELECT toInt128(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 83 out of 1000 SELECT k, a, toInt128(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toInt128(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toNullable(1., 62), toInt128(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(toNullable(1., 62), toInt128(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(toNullable(1., 62), toInt128(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 87 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toInt128(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 88 out of 1000 SELECT k, a, 1, b FROM ( SELECT toInt128(65535), number AS k FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, 1, b FROM (SELECT toInt128(65535), number AS k FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a, 1, b FROM (SELECT toInt128(65535), number AS k FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k DESC. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 89 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(toInt128(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT -2 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(toInt128(65535)), number AS k, toString(number) AS a FROM system.numbers LIMIT -2) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 90 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 92 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(0), toDecimal64(1., 16) LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(0), toDecimal64(1., 16) LIMIT 2, 1048577) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(0), toDecimal64(1., 16) LIMIT 2, 1048577. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 96 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(t, number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(65535), number AS k, toString(t, number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't' in scope SELECT materialize(65535), number AS k, toString(t, number) AS a FROM system.numbers LIMIT 10. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 97 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(t__fuzz_46, 65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(t__fuzz_46, 65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_46' in scope SELECT materialize(t__fuzz_46, 65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 98 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1024), t__fuzz_47, materialize(62) LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1024), t__fuzz_47, materialize(62) LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_47' in scope SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1024), t__fuzz_47, materialize(62) LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 99 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 9223372036854775806 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 9223372036854775806) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.007256582 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 100 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 102 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 103 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 104 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 105 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 106 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, 1, b FROM (SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, 1, b FROM (SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT 1, number AS k, toS. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 107 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 108 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 109 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 111 out of 1000 EXPLAIN ESTIMATE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 EXPLAIN ESTIMATE SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 113 out of 1000 EXPLAIN AST SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 EXPLAIN SYNTAX SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 EXPLAIN SYNTAX SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 116 out of 1000 EXPLAIN SYNTAX SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 117 out of 1000 EXPLAIN SYNTAX SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 118 out of 1000 EXPLAIN SYNTAX SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 119 out of 1000 EXPLAIN SYNTAX SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 120 out of 1000 EXPLAIN SYNTAX SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 121 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 123 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT k, a, 1, b FROM ( SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_30 LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_30 LIMIT 65537) ANY RIGHT JOIN (SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT materialize(65535), number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_30 LIMIT 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 125 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 1048577 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(65535) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(65535) LIMIT 65537) ANY RIGHT JOIN (SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 128 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 1.0001, 3 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 1.0001, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 129 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT 65535, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, toLowCardinality(1), b FROM (SELECT 65535, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a, toLowCardinality(1), b FROM (SELECT 65535, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 131 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(toInt256(65535))) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(toInt256(65535))) LIMIT 65537) ANY RIGHT JOIN (SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 132 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 133 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 134 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 136 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, t__fuzz_23, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT 1, t__fuzz_23, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_23' in scope SELECT 1, t__fuzz_23, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 137 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 138 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 139 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 140 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 141 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 142 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 143 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 1000.0001 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 1000.0001) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 147 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10000000000. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 10000000000.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.003462496 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 148 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 149 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 150 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 151 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 152 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 153 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 154 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 155 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, -2147483648 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, -2147483648) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 156 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 158 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 159 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 160 out of 1000 EXPLAIN SYNTAX SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 161 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 163 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, NULL ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, NULL) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 165 out of 1000 SELECT k, a, toInt256(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 SELECT k, a, toInt256(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 167 out of 1000 SELECT k, a, toInt256(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 168 out of 1000 SELECT k, a, toInt256(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 169 out of 1000 SELECT k, a, toInt256(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 SELECT k, a, toInt256(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 171 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(toInt128(toInt256(65535)), number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(toInt128(toInt256(65535)), number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, number AS k, toString(toInt128(toInt256(65535)), number) AS a FROM system.numbers LIMIT 2.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 172 out of 1000 SELECT k, a, toInt256(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 173 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 175 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 2147483647 LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 2147483647 LIMIT 65536, 3) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 176 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, materialize(toLowCardinality(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) GROUP BY materialize(toInt128(65537)), materialize(materialize(toNullable(65537))), toNullable(toDecimal128(1., 30)) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, materialize(toLowCardinality(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) GROUP BY materialize(toInt128(65537)), materialize(materialize(toNullable(65537))), toNullable(toDecimal128(1., 30)) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT k, a, 1, b FROM (SELECT 65535, materialize(toLowCardinality(1)), number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) GROUP BY materialize(toInt128(65537)), materialize(materialize(toNullable(65537))), toNullable(toDecimal128(1., 30)) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 177 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 178 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) PREWHERE 10 WHERE toLowCardinality(1024) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) PREWHERE 10 WHERE toLowCardinality(1024) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 179 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 181 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, 255, number AS k, toString(number) AS a FROM system.numbers LIMIT 3.4028234663852886e38 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 3 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, 255, number AS k, toString(number) AS a FROM system.numbers LIMIT 3.4028234663852886e38) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 3) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 182 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 3 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, toLowCardinality(1), b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 3) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 183 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(b, number) AS b FROM system.numbers PREWHERE materialize(1048576) LIMIT 65536, 65536 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(b, number) AS b FROM system.numbers PREWHERE materialize(1048576) LIMIT 65536, 65536) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'b' in scope SELECT number AS k, toString(b, number) AS b FROM system.numbers PREWHERE materialize(1048576) LIMIT 65536, 65536. Maybe you meant: ['b']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 185 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(t__fuzz_0, number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(t__fuzz_0, number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_0' in scope SELECT number AS k, toString(t__fuzz_0, number) AS b FROM system.numbers LIMIT 65536, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 20. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 21. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 187 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) PREWHERE toNullable(toLowCardinality(1)) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) PREWHERE toNullable(toLowCardinality(1)) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 188 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 189 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 190 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 191 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 192 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 SELECT k, a, t__fuzz_44, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, t__fuzz_44, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT k, a, t__fuzz_44, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3) USING (k) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 194 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 195 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_12 LIMIT 257, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_12 LIMIT 257, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_12 LIMIT 257, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 196 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 197 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 198 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 199 out of 1000 SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 200 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 EXPLAIN ESTIMATE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 EXPLAIN ESTIMATE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 203 out of 1000 EXPLAIN ESTIMATE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 204 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 206 out of 1000 EXPLAIN AST SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 210 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 EXPLAIN AST SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 EXPLAIN AST SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 213 out of 1000 EXPLAIN ESTIMATE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 214 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 216 out of 1000 EXPLAIN AST SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 219 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, 1, b FROM (SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 220 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 221 out of 1000 EXPLAIN SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 222 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 224 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 225 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 226 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 227 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 228 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 229 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 230 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 231 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 232 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 233 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 234 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT 65535, number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 235 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 238 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(materialize(materialize(toLowCardinality(65537))), number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(materialize(materialize(toLowCardinality(65537))), number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 257, 3) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(materialize(materialize(toLowCardinality(65537))), number) AS a FROM system.numbers LIMIT 2.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 240 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 257, 257 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, toLowCardinality(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 257, 257) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, a, toLowCardinality(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 257, 257) USING (k) ORDER BY k ASC NULLS LAST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 241 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3 ) USING (k) PREWHERE toInt256(9223372036854775806, toInt128(1)) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3) USING (k) PREWHERE toInt256(9223372036854775806, toInt128(1)) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 3) USING (k) PREWHERE toInt256(9223372036854775806, toInt128(1)) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071c9d3b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 242 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 244 out of 1000 EXPLAIN QUERY TREE SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 245 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 247 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_2 LIMIT inf ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_2 LIMIT inf) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_2 LIMIT inf. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 248 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toInt128(toInt256(65535)) LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toInt128(toInt256(65535)) LIMIT 2147483646, 3) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Int128 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 249 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 250 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 251 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 252 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, -9223372036854775807 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, -9223372036854775807) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 253 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 254 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 256 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 258 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 259 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 260 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 261 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.0001 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.0001) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 262 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 263 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 265 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 267 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 268 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT inf ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 44 LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT inf) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE 44 LIMIT 65536, 3) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 269 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 270 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 271 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 273 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 274 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_12, t__fuzz_1 LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_12, t__fuzz_1 LIMIT 65536, 3) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_12, t__fuzz_1 LIMIT 65536, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 275 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 276 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 278 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_14 LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, toLowCardinality(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_14 LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_14' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_14 LIMIT 2.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 281 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 282 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT t__fuzz_13, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, toLowCardinality(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT t__fuzz_13, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT t__fuzz_13, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 283 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 284 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(65537)), 1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '25.7', 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(65537)), 1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '25.7', 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual '25.7'. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '25.7', 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 285 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 286 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 287 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 SELECT k, a, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 290 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toLowCardinality(1.)), toLowCardinality(toInt128(toInt256(65535))), materialize(toLowCardinality(toInt128(toInt256(65535)))), toLowCardinality(toLowCardinality(toNullable(65537))), toLowCardinality(1) LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toLowCardinality(1.)), toLowCardinality(toInt128(toInt256(65535))), materialize(toLowCardinality(toInt128(toInt256(65535)))), toLowCardinality(toLowCardinality(toNullable(65537))), toLowCardinality(1) LIMIT 2.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(toLowCardinality(1.)), toLowCardinality(toInt128(toInt256(65535))), materialize(toLowCardinality(toInt128(toInt256(65535)))), toLowCardinality(toLowCardinality(toNullable(65537))), toLowCardinality(1) LIMIT 2.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 292 out of 1000 SELECT k, a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 SELECT k, a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT k, a, toNullable(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 297 out of 1000 EXPLAIN PIPELINE SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 298 out of 1000 EXPLAIN AST SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 SELECT k, a, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT k, a, toLowCardinality(toInt256(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 SELECT k, a, toLowCardinality(toInt256(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 302 out of 1000 SELECT k, a, toLowCardinality(toInt256(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 SELECT k, a, toLowCardinality(toInt256(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 256, 9223372036854775806 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, toLowCardinality(toInt256(1)), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 256, 9223372036854775806) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.001408793 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 304 out of 1000 SELECT k, a, toLowCardinality(toInt256(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 SELECT k, a, toLowCardinality(toInt256(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 SELECT k, a, toLowCardinality(toInt256(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 307 out of 1000 SELECT k, a, toLowCardinality(toInt256(1)), toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 311 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 313 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 314 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 315 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 317 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 322 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 323 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 324 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 325 out of 1000 EXPLAIN SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 328 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 329 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 331 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 332 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 333 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 337 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 338 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 339 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 340 out of 1000 EXPLAIN SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 342 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 344 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 345 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 346 out of 1000 SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(toLowCardinality(0), number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1025 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(toLowCardinality(0), number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1025) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(0), number) AS a FROM system.numbers WHERE NULL LIMIT 0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 347 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 348 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 350 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 351 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 353 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 354 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 355 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 358 out of 1000 EXPLAIN SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 EXPLAIN SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 360 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 362 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 363 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 365 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 366 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 371 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 372 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 373 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 375 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 EXPLAIN PIPELINE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 377 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 381 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 383 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 385 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 386 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 387 out of 1000 EXPLAIN ESTIMATE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 388 out of 1000 EXPLAIN SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 391 out of 1000 SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2147483648 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2147483648) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002723556 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 392 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0.) ANY RIGHT JOIN (SELECT number . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 393 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 395 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 396 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 397 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 398 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 399 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE NULL LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 403 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(toLowCardinality(toInt128(65537)), materialize(toNullable(65535)))) LIMIT 100000000000000000000. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(toLowCardinality(toInt128(65537)), materialize(toNullable(65535)))) LIMIT 100000000000000000000.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(toLowCardinality(toInt128(65537)), materialize(toNullable(65535)))) LIMIT 100000000000000000000.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 405 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(toLowCardinality(65537)) LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(toLowCardinality(65537)) LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 406 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100.0001 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 100.0001) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 409 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 411 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 412 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 413 out of 1000 EXPLAIN SYNTAX SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 414 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 EXPLAIN SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 417 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 418 out of 1000 EXPLAIN SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 419 out of 1000 SELECT k, a, toLowCardinality(16, toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(1048576) LIMIT 3.4028234663852886e38 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, toLowCardinality(16, toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toNullable(1048576) LIMIT 3.4028234663852886e38) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 420 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 421 out of 1000 EXPLAIN QUERY TREE SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 422 out of 1000 EXPLAIN AST SELECT k, a, toLowCardinality(toLowCardinality(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT k, a, toLowCardinality(toLowCardinality(1)), materialize(toInt128(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 SELECT k, toNullable(65537), a, toLowCardinality(1), materialize(toInt128(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toNullable(-0.) LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, toNullable(65537), a, toLowCardinality(1), materialize(toInt128(1)), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toNullable(-0.) LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toNullable(-0.) LIMIT 0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 426 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(toLowCardinality(1)), materialize(toInt128(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT materialize(1), k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, t__fuzz_32, toString(number) AS b FROM system.numbers LIMIT 65535, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT materialize(1), k, a, toLowCardinality(toLowCardinality(1)), materialize(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, t__fuzz_32, toString(number) AS b FROM system.numbers LIMIT 65535, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT number AS k, t__fuzz_32, toString(number) AS b FROM system.numbers LIMIT 65535, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 428 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(toLowCardinality(1)), materialize(toInt128(1)), b FROM ( SELECT number AS k, toString(t__fuzz_32, number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(toLowCardinality(1)), materialize(toInt128(1)), b FROM (SELECT number AS k, toString(t__fuzz_32, number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_32' in scope SELECT number AS k, toString(t__fuzz_32, number) AS a FROM system.numbers LIMIT 0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 429 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), materialize(toInt128(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 SELECT toLowCardinality(1), k, a, materialize(toInt128(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 256, 3 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1), k, a, materialize(toInt128(1)), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 256, 3) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT toLowCardinality(1), k, a, materialize(toInt128(1)), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 256, 3) USING (k) ORDER BY k ASC NULLS LAST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 431 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), materialize(toInt128(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), materialize(toInt128(1)), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT toLowCardinality(1), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(1), k, a, toLowCardinality(1), toInt128(1), b FROM (SELECT number AS k FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT toLowCardinality(1), k, a, toLowCardinality(1), toInt128(1), b FROM (SELECT number AS k FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) ORDER BY k ASC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 435 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toUInt128(toLowCardinality(62)), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 SELECT toLowCardinality(1), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(t__fuzz_47, 62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1), k, a, toLowCardinality(1), toInt128(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, toLowCardinality(t__fuzz_47, 62), toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_47' in scope SELECT number AS k, toLowCardinality(t__fuzz_47, 62), toString(number) AS b FROM system.numbers LIMIT 10, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 438 out of 1000 EXPLAIN PIPELINE header = true SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 62, toString(number) AS b FROM system.numbers LIMIT 10, 9223372036854775806 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toInt128(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 62, toString(number) AS b FROM system.numbers LIMIT 10, 9223372036854775806) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 439 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toLowCardinality(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 SELECT toLowCardinality(1), k, a, 1, toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(65537, number) AS b FROM system.numbers LIMIT 10, 257 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(1), k, a, 1, toInt128(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(65537, number) AS b FROM system.numbers LIMIT 10, 257) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(65537, number) AS b FROM system.numbers LIMIT 10, 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 442 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC Got boring AST Fuzzing step 443 out of 1000 EXPLAIN PIPELINE header = true SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 444 out of 1000 SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toDecimal32(1., 6), toInt128(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 44 LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC Error on processing query 'SELECT materialize(toLowCardinality(1)), k, a, toLowCardinality(1), toDecimal32(1., 6), toInt128(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE 44 LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 445 out of 1000 SELECT materialize(1), k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toLowCardinality(toUInt256(62)), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 SELECT materialize(1), k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, materialize(toLowCardinality(toInt128(toInt256(65535)))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toUInt256(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 EXPLAIN PIPELINE SELECT materialize(materialize(1048576), 1), k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, materialize(toLowCardinality(toInt128(toInt256(65535)))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toUInt256(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC Error on processing query 'EXPLAIN PIPELINE SELECT materialize(materialize(1048576), 1), k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, materialize(toLowCardinality(toInt128(toInt256(65535)))), toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, toUInt256(62), toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT materialize(materialize(1048576), 1), k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, materialize(toLowCardinality(toInt128(toInt256(65535)))), toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, toUInt256(62), toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 448 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toUInt256(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 449 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toUInt256(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Got boring AST Fuzzing step 450 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toUInt256(62), toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Got boring AST Fuzzing step 453 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(65535)), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, toNullable(toUInt256(44)), 62, toString(number) AS b FROM system.numbers LIMIT 10, 2147483646 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Error on processing query 'SELECT 1, k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toLowCardinality(toInt128(65535)), toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, toNullable(toUInt256(44)), 62, toString(number) AS b FROM system.numbers LIMIT 10, 2147483646) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.003944067 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 SELECT materialize(1), k, a, toLowCardinality(1), 1, b FROM ( SELECT materialize(toNullable(1.)), toLowCardinality(30), number AS k, toLowCardinality(toInt256(65537), toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Error on processing query 'SELECT materialize(1), k, a, toLowCardinality(1), 1, b FROM (SELECT materialize(toNullable(1.)), toLowCardinality(30), number AS k, toLowCardinality(toInt256(65537), toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT materialize(toNullable(1.)), toLowCardinality(30), number AS k, toLowCardinality(toInt256(65537), toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 455 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, -1 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC NULLS FIRST Error on processing query 'SELECT 1, k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, -1) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 458 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toLowCardinality(toInt128(toInt256(65535))), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC NULLS LAST Got boring AST Fuzzing step 459 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toInt128(toInt256(65535)), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toInt128(toInt256(65535)), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, toLowCardinality(62), toString(number) AS b FROM system.numbers LIMIT 65537, 9223372036854775806 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Error on processing query 'SELECT 1, k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toInt128(toInt256(65535)), toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, toLowCardinality(62), toString(number) AS b FROM system.numbers LIMIT 65537, 9223372036854775806) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00623224 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 461 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toInt128(65535), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, toInt128(65535), toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers WHERE toDecimal256(toLowCardinality(toInt256(1), toDecimal256(1., 47)), 62) LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 1, k, a, 1, 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers WHERE toDecimal256(toLowCardinality(toInt256(1), toDecimal256(1., 47)), 62) LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT number AS k, 65535, toString(number) AS a FROM system.numbers WHERE toDecimal256(toLowCardinality(toInt256(1), toDecimal256(1., 47)), 62) LIMIT -0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 465 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 EXPLAIN AST SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN AST SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 469 out of 1000 EXPLAIN AST SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 470 out of 1000 EXPLAIN AST SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 471 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('1'): 1, k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SEL. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 472 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, -2 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, -2) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 475 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 476 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(toNullable(toInt128(1048576))), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(toInt128(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(toInt128(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(toInt128(1048576)), 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST Error on processing query 'SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(toInt128(1048576)), 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(toInt128(1048576)), 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 480 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 SELECT materialize(toInt128(1)), k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT -2147483649, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT materialize(toInt128(1)), k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT -2147483649, 65537) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 482 out of 1000 EXPLAIN PIPELINE header = true SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, materialize(toLowCardinality(44)), toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, materialize(toLowCardinality(44)), toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 483 out of 1000 SELECT 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT number AS k, materialize(1., 0), 44, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 2, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'SELECT 1, k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT number AS k, materialize(1., 0), 44, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 2, 65537) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT number AS k, materialize(1., 0), 44, toUInt128(62), toString(number) AS b FROM system.numbers LIMIT 2, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 484 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers GROUP BY toInt128(toInt256(65535)), 1048576, t__fuzz_8, 30 LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, -9223372036854775807 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT 1, k, a, 1, toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers GROUP BY toInt128(toInt256(65535)), 1048576, t__fuzz_8, 30 LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, -9223372036854775807) USING (k) ORDER BY toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 1048576 is out of bounds. Expected in range [1, 3]. In scope SELECT number AS k, 65535, toString(number) AS a FROM system.numbers GROUP BY toInt128(toInt256(65535)), 1048576, t__fuzz_8, 30 LIMIT -0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 486 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 487 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY 2147483647 ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY 2147483647 ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 2147483647 is out of bounds. Expected in range [1, 6]. In scope SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY 2147483647 ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 488 out of 1000 SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 489 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 492 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 494 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('1'): 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIG. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 495 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 496 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 497 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('1'): 1, k, a, toLowCardinality(1), toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIG. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 500 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 502 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 503 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 504 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 506 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 507 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 508 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 509 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 511 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 512 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 513 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 514 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 515 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 516 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 517 out of 1000 EXPLAIN SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 518 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 519 out of 1000 EXPLAIN AST SELECT 1, k, a, toLowCardinality(1), toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_19 LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) GROUP BY toInt128(1048576), t__fuzz_44 ORDER BY materialize(toLowCardinality(1)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT 1, k, a, 1, toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_19 LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) GROUP BY toInt128(1048576), t__fuzz_44 ORDER BY materialize(toLowCardinality(1)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_19' in scope SELECT number AS k, 65535, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_19 LIMIT -0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 523 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -inf ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toLowCardinality(materialize(65537)) LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT 1, k, a, 1, toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -inf) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toLowCardinality(materialize(65537)) LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 525 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Got boring AST Fuzzing step 526 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) GROUP BY toLowCardinality(toNullable(toInt128(1048576))), 65536, t__fuzz_26 ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC Error on processing query 'SELECT 1, k, a, 1, toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) GROUP BY toLowCardinality(toNullable(toInt128(1048576))), 65536, t__fuzz_26 ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC': Received from localhost:9000. DB::Exception: Positional argument number 65536 is out of bounds. Expected in range [1, 6]. In scope SELECT 1, k, a, 1, toNullable(1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) GROUP BY toLowCardinality(toNullable(toInt128(1048576))), 65536, t__fuzz_26 ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 529 out of 1000 SELECT 1, k, a, 1, toNullable(toNullable(1024), 1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 65537, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC Error on processing query 'SELECT 1, k, a, 1, toNullable(toNullable(1024), 1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 65537, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 1, k, a, 1, toNullable(toNullable(1024), 1), b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 65537, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 530 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Got boring AST Fuzzing step 531 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toDecimal256(1., 47)) LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, toNullable(toUInt128(62)), toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT 1, k, a, 1, 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toDecimal256(1., 47)) LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, toNullable(toUInt128(62)), toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Decimal(76, 47): In scope SELECT number AS k, 65535, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toDecimal256(1., 47)) LIMIT -0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/DataTypes/DataTypeLowCardinality.cpp:0: DB::DataTypeLowCardinality::DataTypeLowCardinality(std::shared_ptr) @ 0x0000000010c4116c 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1460: std::shared_ptr std::allocate_shared[abi:v15007], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x000000000b7a1da3 6. /build/src/Functions/toLowCardinality.cpp:34: DB::(anonymous namespace)::FunctionToLowCardinality::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b7a1cb1 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 8. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 9. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 10. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 532 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(materialize(toInt128(65537)), number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT 1, k, a, 1, toNullable(1), b FROM (SELECT number AS k, 65535, toString(materialize(toInt128(65537)), number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, 65535, toString(materialize(toInt128(65537)), number) AS a FROM system.numbers LIMIT -0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 533 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT 1, k, a, 1, toNullable(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY 1023, toLowCardinality(65535) LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) ASC NULLS LAST Error on processing query 'SELECT 1, k, a, 1, 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY 1023, toLowCardinality(65535) LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 1023 is out of bounds. Expected in range [1, 5]. In scope SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY 1023, toLowCardinality(65535) LIMIT 10, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 537 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Got boring AST Fuzzing step 538 out of 1000 EXPLAIN PIPELINE SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toUInt256(44), 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toUInt256(44), 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toUInt256(44), 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 541 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toUInt256(44), 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1, k, a, 1, 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, toUInt256(44), 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('1'): 1, k, a, 1, 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, n. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 542 out of 1000 EXPLAIN SYNTAX SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toUInt256(44), 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 543 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toUInt256(44), 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 SELECT toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 SELECT toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, materialize(toNullable(65535)), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 SELECT toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 SELECT toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, t__fuzz_3, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1), k, a, 1, 1, b FROM (SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, t__fuzz_3, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_3' in scope SELECT 1048576, number AS k, 44, 62, t__fuzz_3, toString(number) AS b FROM system.numbers LIMIT 10, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 549 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_37, materialize(toInt256(1)), toUInt256(62), toDecimal64(1., 16) LIMIT 10, -1 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC Error on processing query 'SELECT 1, k, a, 1, 1, b FROM (SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_37, materialize(toInt256(1)), toUInt256(62), toDecimal64(1., 16) LIMIT 10, -1) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_37' in scope SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_37, materialize(toInt256(1)), toUInt256(62), toDecimal64(1., 16) LIMIT 10, -1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 551 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 553 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 554 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC Error on processing query 'SELECT 1, k, a, 1, 1, b FROM (SELECT toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 1, k, a, 1, 1, b FROM (SELECT toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 555 out of 1000 SELECT 1, k, a, materialize(1), 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(toNullable(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM ( SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(toInt128(65537)), toNullable(65535), t__fuzz_9, t__fuzz_33, t__fuzz_26 LIMIT 0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(toNullable(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM (SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(toInt128(65537)), toNullable(65535), t__fuzz_9, t__fuzz_33, t__fuzz_26 LIMIT 0.) ANY RIGHT JOIN (SELECT toLowCardinality(toNullable(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_9' in scope SELECT number AS k, toNullable(65535), toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(toInt128(65537)), toNullable(65535), t__fuzz_9, t__fuzz_33, t__fuzz_26 LIMIT 0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 558 out of 1000 SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM ( SELECT 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM (SELECT 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM (SELECT 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 560 out of 1000 SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_39, toLowCardinality(30), 62 LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_39, toLowCardinality(30), 62 LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 62 is out of bounds. Expected in range [1, 5]. In scope SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_39, toLowCardinality(30), 62 LIMIT 10, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 561 out of 1000 EXPLAIN `header, description` = true SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'EXPLAIN `header, description` = true SELECT 1, k, a, materialize(toNullable(1)), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 65537) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown setting "header, description" for EXPLAIN PLAN query. Supported settings: sorting, optimize, indexes, json, actions, description, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [5], String&&) @ 0x000000001158a80b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x00000000115860e2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 562 out of 1000 SELECT 1, k, a, materialize(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT 1, k, a, materialize(materialize(toLowCardinality(1))), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 SELECT toInt256(1), k, a, materialize(materialize(1)), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 SELECT toInt256(1), k, a, materialize(materialize(1)), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) GROUP BY materialize(65537), toLowCardinality(toNullable(-0.)), toInt128(t__fuzz_1, 65537) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Error on processing query 'SELECT toInt256(1), k, a, materialize(materialize(1)), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) GROUP BY materialize(65537), toLowCardinality(toNullable(-0.)), toInt128(t__fuzz_1, 65537) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_1' in scope SELECT toInt256(1), k, a, materialize(materialize(1)), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3) USING (k) GROUP BY materialize(65537), toLowCardinality(toNullable(-0.)), toInt128(t__fuzz_1, 65537) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 566 out of 1000 SELECT toInt256(1), k, a, materialize(materialize(1)), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toNullable(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Got boring AST Fuzzing step 567 out of 1000 SELECT toInt256(1), k, a, materialize(materialize(1)), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT toInt256(1), k, a, materialize(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 SELECT toInt256(1), k, a, materialize(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers PREWHERE toNullable(toUInt256(62), toLowCardinality(1)) WHERE toNullable(toLowCardinality(1)) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC Error on processing query 'SELECT toInt256(1), k, a, materialize(1), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers PREWHERE toNullable(toUInt256(62), toLowCardinality(1)) WHERE toNullable(toLowCardinality(1)) LIMIT 10, 3) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers PREWHERE toNullable(toUInt256(62), toLowCardinality(1)) WHERE toNullable(toLowCardinality(1)) LIMIT 10, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 570 out of 1000 SELECT toInt256(1), k, a, materialize(1), 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 10, -2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC Error on processing query 'SELECT toInt256(1), k, a, materialize(1), 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toLowCardinality(1)) LIMIT 10, -2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 571 out of 1000 SELECT toInt256(1), k, a, materialize(number, 1), 1, b FROM ( SELECT number AS k, 65535, 1024, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toLowCardinality(materialize(1))) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC Error on processing query 'SELECT toInt256(1), k, a, materialize(number, 1), 1, b FROM (SELECT number AS k, 65535, 1024, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toLowCardinality(materialize(1))) LIMIT 10, 3) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT toInt256(1), k, a, materialize(number, 1), 1, b FROM (SELECT number AS k, 65535, 1024, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toLowCardinality(materialize(1))) LIMIT 10, 3) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 572 out of 1000 SELECT toInt256(1), k, a, 1, toInt128(1), b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toLowCardinality(toNullable(1))) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 SELECT toInt256(1), k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toNullable(1)) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 SELECT toInt256(1), k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toNullable(1)) LIMIT -2, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC Error on processing query 'SELECT toInt256(1), k, a, 1, 1, b FROM (SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(toNullable(1)) LIMIT -2, 3) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 575 out of 1000 SELECT toInt256(1), k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT toInt256(1), k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 577 out of 1000 SELECT toInt256(1), k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 SELECT 1, k, a, 1, 1, b FROM ( SELECT number AS k, 65535, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT toLowCardinality(1.), toLowCardinality(62), 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1.0001 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(1.), toLowCardinality(62), 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1.0001) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 581 out of 1000 SELECT toDecimal256(toLowCardinality(1.), materialize(toLowCardinality(toInt128(toInt256(65535)))), toLowCardinality(62)), 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(toLowCardinality(t__fuzz_22, 0), number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT toDecimal256(toLowCardinality(1.), materialize(toLowCardinality(toInt128(toInt256(65535)))), toLowCardinality(62)), 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(toLowCardinality(t__fuzz_22, 0), number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_22' in scope SELECT 1048576, number AS k, 44, 62, toString(toLowCardinality(t__fuzz_22, 0), number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 15. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 582 out of 1000 SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 0 LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(t__fuzz_35, number) AS a FROM system.numbers WHERE 0 LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(t__fuzz_35, number) AS a FROM system.numbers WHERE 0 LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_35' in scope SELECT number AS k, toString(t__fuzz_35, number) AS a FROM system.numbers WHERE 0 LIMIT 0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 584 out of 1000 SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 0 LIMIT 0.9999 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toLowCardinality(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE 0 LIMIT 0.9999) ANY RIGHT JOIN (SELECT 1048576, number AS k, toLowCardinality(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 585 out of 1000 SELECT toDecimal256(toLowCardinality(1.), 62), 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT materialize(toLowCardinality(65537)), toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(7) LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT materialize(toLowCardinality(65537)), toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(7) LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 588 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 EXPLAIN PIPELINE header = true SELECT toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 592 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 593 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, toLowCardinality(1), 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY a, NULL, toLowCardinality(toInt128(toInt256(65535))), toInt128(toInt256(65535)) LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), toNullable(62), toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(1.), 62, 1, k, a, toLowCardinality(1), 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY a, NULL, toLowCardinality(toInt128(toInt256(65535))), toInt128(toInt256(65535)) LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), toNullable(62), toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY a, NULL, toLowCardinality(toInt128(toInt256(65535))), toInt128(toInt256(65535)) LIMIT 0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 594 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Got boring AST Fuzzing step 595 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, 1, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 596 out of 1000 SELECT toLowCardinality(1.), 62, 1, k, a, 1, materialize(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT inf ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) WHERE toLowCardinality(7) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1.), 62, 1, k, a, 1, materialize(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT inf) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7) USING (k) WHERE toLowCardinality(7) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 597 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, -2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT 1., 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, -2) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 599 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62 FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT 1., 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), 62 FROM system.numbers WHERE toNullable(1) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT 1., 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), 62 FROM system.numbers WHERE toNullable(1) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 600 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62 FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT 1., 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), 62 FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT 1., 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), 62 FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 601 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), toLowCardinality(62), toString(toNullable(-0.), number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) GROUP BY toUInt256(44), t__fuzz_38, toLowCardinality(toLowCardinality(1)), t__fuzz_41, materialize(toNullable(65535)) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT 1., 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), toLowCardinality(62), toString(toNullable(-0.), number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7) USING (k) GROUP BY toUInt256(44), t__fuzz_38, toLowCardinality(toLowCardinality(1)), t__fuzz_41, materialize(toNullable(65535)) ORDER BY materialize(toLowCardinality(1)) DESC NULLS LAST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 1048576, number AS k, materialize(44), toLowCardinality(62), toString(toNullable(-0.), number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 602 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 EXPLAIN PIPELINE header = true, compact = true SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true, compact = true SELECT 1., 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, materialize(44), 62, toString(number) AS b FROM system.numbers WHERE toNullable(1) LIMIT 10, 7) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 604 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT 1., 62, toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -inf ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 1048576 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT 1., 62, toLowCardinality(1), k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -inf) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 1048576) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 606 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 607 out of 1000 SELECT 1., 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 608 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers WHERE toNullable(materialize(1)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, toLowCardinality(toInt128(1)), b FROM ( SELECT number AS k, toString(toLowCardinality(materialize(65535)), number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 2147483646, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, toLowCardinality(toInt128(1)), b FROM (SELECT number AS k, toString(toLowCardinality(materialize(65535)), number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 2147483646, 100) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(materialize(65535)), number) AS a FROM system.numbers LIMIT 0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 611 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 613 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'SELECT toNullable(toDecimal128(1., 29)), 62, toLowCardinality(1), k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 100) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000179068 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 614 out of 1000 EXPLAIN SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 616 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 EXPLAIN SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 621 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 622 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 623 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 625 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 626 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 628 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 629 out of 1000 SELECT toNullable(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 257 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT toNullable(1., 29), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 257) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(1., 29), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 257) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 630 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 632 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 633 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 634 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 635 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 637 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 638 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 639 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 640 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 641 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 ('toNullable'): toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 642 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 643 out of 1000 EXPLAIN AST SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 644 out of 1000 EXPLAIN SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 646 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 647 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 ('toNullable'): toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 649 out of 1000 EXPLAIN SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 EXPLAIN SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 651 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 SELECT toNullable(1., 29), 62, 1, k, a, 1, toLowCardinality(1), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT toNullable(1., 29), 62, 1, k, a, 1, toLowCardinality(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(1., 29), 62, 1, k, a, 1, toLowCardinality(1), b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 653 out of 1000 SELECT toNullable(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toNullable(toUInt256(44)), 62, toString(number) AS b FROM system.numbers LIMIT 10, -9223372036854775807 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT toNullable(1., 29), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, toNullable(toUInt256(44)), 62, toString(number) AS b FROM system.numbers LIMIT 10, -9223372036854775807) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 654 out of 1000 SELECT toNullable(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS LAST Error on processing query 'SELECT toNullable(1., 29), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(1., 29), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 10, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 655 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.5 ) ANY RIGHT JOIN ( SELECT toInt128(toLowCardinality(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.5) ANY RIGHT JOIN (SELECT toInt128(toLowCardinality(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 657 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(toDecimal64(1., 16), 1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC NULLS FIRST Error on processing query 'SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(toDecimal64(1., 16), 1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT toInt128(toDecimal64(1., 16), 1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071b92db 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 658 out of 1000 SELECT toNullable(toDecimal128(1., materialize(toNullable(29)))), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(toNullable(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT toNullable(toDecimal128(1., materialize(toNullable(29)))), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(toNullable(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: A value of illegal type was provided as 2nd argument 'scale' to function 'toDecimal128'. Expected: const Integer, got: UInt8: In scope SELECT toNullable(toDecimal128(1., materialize(toNullable(29)))), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(toNullable(1048576)), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) DESC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception> const&, String, std::basic_string_view> const&, String>(int, FormatStringHelperImpl::type, std::type_identity> const&>::type, std::type_identity::type, std::type_identity> const&>::type, std::type_identity::type>, String&&, std::basic_string_view> const&, String&&, std::basic_string_view> const&, String&&) @ 0x00000000070340f9 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000000703242a 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007031e3b 6. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000073162e1 7. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007308d20 8. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 9. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 10. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 659 out of 1000 SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 0.0001 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Error on processing query 'SELECT toNullable(toDecimal128(1., 29)), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 0.0001) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 660 out of 1000 SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(t__fuzz_22, 1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0.) ANY RIGHT JOIN (SELECT toInt128(t__fuzz_22, 1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS FIRST, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_22' in scope SELECT toInt128(t__fuzz_22, 1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 661 out of 1000 SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) DESC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Got boring AST Fuzzing step 664 out of 1000 SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) DESC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Got boring AST Fuzzing step 667 out of 1000 SELECT toDecimal128(1., 29), 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 SELECT 1., 29, 62, toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1.1754943508222875e-38 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT -2147483649, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC Error on processing query 'SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1.1754943508222875e-38) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT -2147483649, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 671 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 672 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toNullable(toUInt128(44)), 62, toString(toString(number), number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS LAST Error on processing query 'SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, toNullable(toUInt128(44)), 62, toString(toString(number), number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) DESC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 1048576, number AS k, toNullable(toUInt128(44)), 62, toString(toString(number), number) AS b FROM system.numbers LIMIT 1048576, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 673 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 674 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Error on processing query 'SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 1048576, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 675 out of 1000 EXPLAIN PIPELINE SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 42 ('1.'): 1., 29, 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0.) ANY RIGHT JOIN (SELEC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 677 out of 1000 EXPLAIN PIPELINE SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 678 out of 1000 EXPLAIN QUERY TREE SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 EXPLAIN SYNTAX SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 EXPLAIN PIPELINE SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN PIPELINE SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 682 out of 1000 EXPLAIN PIPELINE SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 683 out of 1000 EXPLAIN ESTIMATE SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 EXPLAIN ESTIMATE SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 685 out of 1000 EXPLAIN SYNTAX SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 EXPLAIN SYNTAX SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 687 out of 1000 EXPLAIN SYNTAX SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Got boring AST Fuzzing step 688 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 689 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10000000000. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC Error on processing query 'SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10000000000.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC, toLowCardinality(toUInt128(30)) DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.004879771 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 690 out of 1000 SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(t__fuzz_43, toNullable(1048576)) LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC Error on processing query 'SELECT 1., 29, 62, 1, k, a, 1, 1, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(t__fuzz_43, toNullable(1048576)) LIMIT -0.) ANY RIGHT JOIN (SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS FIRST, toLowCardinality(toUInt128(30)) DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_43' in scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(t__fuzz_43, toNullable(1048576)) LIMIT -0.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 691 out of 1000 SELECT 1., 29, 62, toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 SELECT 1., 29, 62, toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(toNullable(65537)), 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 EXPLAIN PIPELINE SELECT 1., 29, 62, toLowCardinality(1), k, a, 1, 1, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -0. ) ANY RIGHT JOIN ( SELECT toLowCardinality(toNullable(65537)), 1048576, number AS k, 44, 62, toString(number) AS b FROM system.numbers LIMIT 1048576, 2 ) USING (k) ORDER BY materialize(toLowCardinality(1)) ASC NULLS LAST, materialize(toNullable(1024)) ASC NULLS LAST, toLowCardinality(toUInt128(30)) DESC Current AST is too long, discarding it and using the original AST as a start Fuzzing step 694 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 696 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 697 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) PREWHERE t__fuzz_27 ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) PREWHERE t__fuzz_27 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_27' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) PREWHERE t__fuzz_27 ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 698 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 699 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toLowCardinality(toNullable(65537)), number) AS a FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 700 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 701 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 702 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 703 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483646) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 704 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_29, number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_29, number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_29' in scope SELECT number AS k, toString(t__fuzz_29, number) AS a FROM system.numbers LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 705 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 255 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 707 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 708 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, -1 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, -1) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 710 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 711 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 712 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 713 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 714 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 715 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(1), materialize(toUInt128(62)), t__fuzz_0, t__fuzz_17 LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(1), materialize(toUInt128(62)), t__fuzz_0, t__fuzz_17 LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_0' in scope SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(1), materialize(toUInt128(62)), t__fuzz_0, t__fuzz_17 LIMIT 65535. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 716 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) PREWHERE t__fuzz_44 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255) USING (k) PREWHERE t__fuzz_44 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255) USING (k) PREWHERE t__fuzz_44 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 717 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE a LIMIT 65537, 2147483646 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE a LIMIT 65537, 2147483646) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Resolve identifier 'a' from parent scope only supported for constants and CTE. Actual a node type COLUMN. In scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE a LIMIT 65537, 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, char const*&&, String&&) @ 0x000000001106ae0b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::IdentifierLookup const&, DB::IdentifierResolveScope&) @ 0x000000001104ddbb 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::QueryAnalyzer::tryResolveIdentifier(DB::IdentifierLookup const&, DB::IdentifierResolveScope&, DB::IdentifierResolveSettings) @ 0x000000001104d260 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f39e 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 718 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 255 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 719 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 EXPLAIN optimize = true SELECT k, a, b FROM ( SELECT toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) GROUP BY toUInt128(62) ORDER BY t ASC, k DESC NULLS LAST Error on processing query 'EXPLAIN optimize = true SELECT k, a, b FROM (SELECT toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100) USING (k) GROUP BY toUInt128(62) ORDER BY t ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "optimize" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 721 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 724 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 725 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 726 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 727 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775806 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(62), toLowCardinality(toNullable(-0.)) LIMIT 65537, 100 ) USING (k) PREWHERE t__fuzz_41 ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775806) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(62), toLowCardinality(toNullable(-0.)) LIMIT 65537, 100) USING (k) PREWHERE t__fuzz_41 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 728 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 729 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 731 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 733 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 734 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 2147483646 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 2147483646) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.003395836 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 735 out of 1000 EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toInt128(t__fuzz_42, 65535)) LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 0 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN QUERY TREE dump_passes = true, dump_ast = true SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toInt128(t__fuzz_42, 65535)) LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 0) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "dump_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 736 out of 1000 SELECT k, a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 65535) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100) USING (k) ORDER BY k ASC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 737 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 738 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65537, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 739 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, -9223372036854775807 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, -9223372036854775807) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 742 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 743 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 744 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 748 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 7 ) USING (k) PREWHERE materialize(toNullable(1048576)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 7) USING (k) PREWHERE materialize(toNullable(1048576)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 750 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k ASC Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toInt128(toInt256(65535)) LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toInt128(toInt256(65535)) LIMIT 255, 7) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 755 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k DESC Got boring AST Fuzzing step 757 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, 1048576 DESC, k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, 1048576 DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1048576 is out of bounds. Expected in range [1, 3]. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, 1048576 DESC, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 758 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toDecimal128(1., 30), toNullable(toInt256(toInt128(materialize(65535)), 1)), toLowCardinality(toLowCardinality(1., 1.)) LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toDecimal128(1., 30), toNullable(toInt256(toInt128(materialize(65535)), 1)), toLowCardinality(toLowCardinality(1., 1.)) LIMIT 255, 7) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toDecimal128(1., 30), toNullable(toInt256(toInt128(materialize(65535)), 1)), toLowCardinality(toLowCardinality(1., 1.)) LIMIT 255, 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071c9d3b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 19. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 23. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 24. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 25. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 28. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 29. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 31. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd Fuzzing step 759 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 760 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k DESC Got boring AST Fuzzing step 761 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toUInt128(30)) LIMIT 255, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toUInt128(30)) LIMIT 255, 7) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 762 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 763 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 765 out of 1000 SELECT k, toNullable(toNullable(65537)), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 EXPLAIN indexes = true, optimize = true SELECT k, toNullable(65537), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_46, NULL, materialize(1), t__fuzz_14 LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC Error on processing query 'EXPLAIN indexes = true, optimize = true SELECT k, toNullable(65537), a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY t__fuzz_46, NULL, materialize(1), t__fuzz_14 LIMIT 10, 7) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "indexes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 767 out of 1000 SELECT k, toNullable(65537), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 768 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(2147483647, 1048576) LIMIT 10, 1048575 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC Error on processing query 'SELECT k, 65537, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(2147483647, 1048576) LIMIT 10, 1048575) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(2147483647, 1048576) LIMIT 10, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 769 out of 1000 SELECT k, toNullable(65537), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 10, 9223372036854775807 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC Error on processing query 'SELECT k, toNullable(65537), a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 10, 9223372036854775807) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, toNullable(65537), a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 10, 9223372036854775807) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k ASC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 770 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 772 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 773 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, -2147483649 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, 65537, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, -2147483649) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 774 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toInt128(materialize(65535)) LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT k, 65537, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toInt128(materialize(65535)) LIMIT 10, 7) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Int128 of column toInt128(materialize(65535_UInt16)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 776 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 777 out of 1000 SELECT k, materialize(toInt256(65537)), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 10, 1024 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, materialize(toInt256(65537)), a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 10, 1024) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY RIGHT JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT k, materialize(toInt256(65537)), a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 10, 1024) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 778 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 779 out of 1000 SELECT k, toLowCardinality(toInt128(65537)), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 7 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 SELECT k, toLowCardinality(65537), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 SELECT k, toLowCardinality(65537), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 782 out of 1000 SELECT k, toLowCardinality(65537), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(1024), 1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, toLowCardinality(65537), a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(1024), 1) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(1024), 1) LIMIT 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 783 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 SELECT k, 65537, a, b FROM ( SELECT toUInt128(62), number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(toLowCardinality(1)), 1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS FIRST Error on processing query 'SELECT k, 65537, a, b FROM (SELECT toUInt128(62), number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(toLowCardinality(1)), 1) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT toUInt128(62), number AS k, toString(number) AS a FROM system.numbers WHERE materialize(materialize(toLowCardinality(1)), 1) LIMIT 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 785 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS FIRST Got boring AST Fuzzing step 787 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS FIRST Got boring AST Fuzzing step 788 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) PREWHERE materialize(toString(number), toNullable(toInt256(1))) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC Error on processing query 'SELECT k, 65537, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) PREWHERE materialize(toString(number), toNullable(toInt256(1))) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT k, 65537, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(1) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) PREWHERE materialize(toString(number), toNullable(toInt256(1))) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 789 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toInt128(toInt128(65537)), 1) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC Error on processing query 'SELECT k, 65537, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toInt128(toInt128(65537)), 1) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toInt128(toInt128(65537)), 1) LIMIT 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 790 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY t__fuzz_46 ASC, materialize(materialize(toNullable(65537))) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT k, 65537, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY t__fuzz_46 ASC, materialize(materialize(toNullable(65537))) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, 65537, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY t__fuzz_46 ASC, materialize(materialize(toNullable(65537))) ASC NULLS LAST, k DESC NULLS LAST. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 792 out of 1000 SELECT k, 65537, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS FIRST Got boring AST Fuzzing step 793 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 796 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY 9223372036854775806 ASC, materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY 9223372036854775806 ASC, materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 9223372036854775806 is out of bounds. Expected in range [1, 3]. In scope SELECT k, 65537, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) ORDER BY 9223372036854775806 ASC, materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 797 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 798 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 9223372036854775806 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS LAST Error on processing query 'SELECT k, materialize(65537), b FROM (SELECT number AS k FROM system.numbers LIMIT 9223372036854775806) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.001427271 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 801 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(Memory, number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, materialize(65537), b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(Memory, number) AS b FROM system.numbers LIMIT 10, 100) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'Memory' in scope SELECT number AS k, toString(Memory, number) AS b FROM system.numbers LIMIT 10, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 802 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '256', 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, materialize(65537), b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '256', 100) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual '256'. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT '256', 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 805 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers GROUP BY materialize(toLowCardinality(1)), toLowCardinality(materialize(65535)), toLowCardinality(toNullable(1024)) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k DESC Error on processing query 'SELECT k, materialize(65537), b FROM (SELECT number AS k FROM system.numbers GROUP BY materialize(toLowCardinality(1)), toLowCardinality(materialize(65535)), toLowCardinality(toNullable(1024)) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 100) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k FROM system.numbers GROUP BY materialize(toLowCardinality(1)), toLowCardinality(materialize(65535)), toLowCardinality(toNullable(1024)) LIMIT 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 809 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) WHERE materialize(materialize(1)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 811 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 815 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(toInt128(toInt256(65537)), number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(toInt128(toInt256(65537)), number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toInt128(toInt256(65537)), number) AS b FROM system.numbers LIMIT 2, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 817 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000088488 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 818 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Got boring AST Fuzzing step 819 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Got boring AST Fuzzing step 820 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 822 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 823 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 824 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 825 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 827 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, -2147483647 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, -2147483647) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 828 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers WHERE toNullable(65537) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers WHERE toNullable(65537) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 829 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 830 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 832 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 833 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 834 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 835 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 838 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 839 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 841 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 842 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 844 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 846 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 847 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 848 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 849 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 851 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 852 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 854 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 855 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 856 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 857 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 858 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 859 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 860 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 861 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 862 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 864 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 865 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 866 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 867 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 868 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 869 out of 1000 EXPLAIN SYNTAX SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 871 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 875 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 876 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 879 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 880 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 881 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 882 out of 1000 EXPLAIN SYNTAX SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 EXPLAIN SYNTAX SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 884 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 885 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 886 out of 1000 EXPLAIN SYNTAX SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 EXPLAIN SYNTAX SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 888 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 890 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 892 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 894 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 895 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 896 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 897 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 898 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 899 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 900 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 902 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 903 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 904 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 905 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 906 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 907 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 909 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 910 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 911 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 912 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 913 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 914 out of 1000 SELECT k, materialize(toInt256(65537)), materialize(toLowCardinality(toInt128(65537))), b FROM ( SELECT number AS k FROM system.numbers WHERE materialize(toLowCardinality(65537)) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'SELECT k, materialize(toInt256(65537)), materialize(toLowCardinality(toInt128(65537))), b FROM (SELECT number AS k FROM system.numbers WHERE materialize(toLowCardinality(65537)) LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt32) of column materialize(_CAST(65537_LowCardinality(UInt32), 'LowCardinality(UInt32)'_String)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 915 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 916 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_38 LIMIT -2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_38 LIMIT -2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_38' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_38 LIMIT -2, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 917 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 918 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 919 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 920 out of 1000 EXPLAIN QUERY TREE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 921 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 922 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 924 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 925 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 926 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 927 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 928 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 929 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 930 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 931 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 932 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 933 out of 1000 EXPLAIN ESTIMATE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 934 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 EXPLAIN SYNTAX SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 936 out of 1000 EXPLAIN SYNTAX SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 937 out of 1000 EXPLAIN SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 938 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 939 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 940 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 941 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 942 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1048575 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, -2147483648 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 1048575) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, -2147483648) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 944 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt256(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toInt256(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 945 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 946 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers WHERE toNullable(65535) LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers WHERE toNullable(65535) LIMIT 65537) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 947 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 948 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 950 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 952 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 953 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 954 out of 1000 SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), k, toInt256(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) GROUP BY a, toUInt128(30) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Error on processing query 'SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), k, toInt256(65537), b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100) USING (k) GROUP BY a, toUInt128(30) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), k, toInt256(65537), b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100) USING (k) GROUP BY a, toUInt128(30) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST. Maybe you meant: ['k']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 955 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Got boring AST Fuzzing step 956 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Got boring AST Fuzzing step 957 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(t__fuzz_25, number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, toString(t__fuzz_25, number) AS b FROM system.numbers LIMIT 7, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_25' in scope SELECT toInt128(1048576), number AS k, toString(t__fuzz_25, number) AS b FROM system.numbers LIMIT 7, 100. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 958 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) GROUP BY 1024, toNullable(toInt128(toInt128(65537))), -0. ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100) USING (k) GROUP BY 1024, toNullable(toInt128(toInt128(65537))), -0. ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: Positional argument number 1024 is out of bounds. Expected in range [1, 3]. In scope SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 65537) ANY RIGHT JOIN (SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100) USING (k) GROUP BY 1024, toNullable(toInt128(toInt128(65537))), -0. ORDER BY materialize(materialize(toNullable(65537))) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 959 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT toInt128(1048576), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Got boring AST Fuzzing step 960 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Got boring AST Fuzzing step 962 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Got boring AST Fuzzing step 963 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Got boring AST Fuzzing step 964 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 65537 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Got boring AST Fuzzing step 965 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 966 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 968 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Got boring AST Fuzzing step 969 out of 1000 SELECT k, materialize(toNullable(65537)), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 970 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 971 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) GROUP BY t__fuzz_44, t__fuzz_23, toNullable(0), t__fuzz_34, toUInt128(62) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Error on processing query 'SELECT k, materialize(65537), b FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100) USING (k) GROUP BY t__fuzz_44, t__fuzz_23, toNullable(0), t__fuzz_34, toUInt128(62) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT k, materialize(65537), b FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100) USING (k) GROUP BY t__fuzz_44, t__fuzz_23, toNullable(0), t__fuzz_34, toUInt128(62) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 972 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 973 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 2147483647 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 2147483647) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.00038135 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 974 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 976 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 977 out of 1000 SELECT k, materialize(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -2147483648 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT k, materialize(65537), b FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -2147483648) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 978 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 979 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) PREWHERE toInt256(toInt256(65537)) ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100) USING (k) PREWHERE toInt256(toInt256(65537)) ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k FROM system.numbers WHERE 255 LIMIT 1 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 980 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers GROUP BY toLowCardinality(toNullable(65537)), t__fuzz_12, materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))) LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers GROUP BY toLowCardinality(toNullable(65537)), t__fuzz_12, materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))) LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT number AS k FROM system.numbers GROUP BY toLowCardinality(toNullable(65537)), t__fuzz_12, materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 981 out of 1000 SELECT k, toLowCardinality(toInt256(65537)), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 SELECT k, toInt256(65537), b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 984 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 985 out of 1000 SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 986 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 987 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 988 out of 1000 EXPLAIN PIPELINE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 989 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbe. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 990 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, 65537, b FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbe. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 991 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 992 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 993 out of 1000 EXPLAIN AST SELECT k, 65537, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 100 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 994 out of 1000 SELECT k, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 257 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 SELECT k, b FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 257 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 996 out of 1000 SELECT k FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 257 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 997 out of 1000 SELECT k FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(toNullable(1., 62), toInt128(65535), number) AS b FROM system.numbers LIMIT 3, 257 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'SELECT k FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(toNullable(1., 62), toInt128(65535), number) AS b FROM system.numbers LIMIT 3, 257) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 1048576, number AS k, toString(toNullable(1., 62), toInt128(65535), number) AS b FROM system.numbers LIMIT 3, 257. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 998 out of 1000 SELECT k FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 257 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 999 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT k FROM ( SELECT number AS k FROM system.numbers LIMIT 1 ) ANY RIGHT JOIN ( SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 257 ) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT k FROM (SELECT number AS k FROM system.numbers LIMIT 1) ANY RIGHT JOIN (SELECT 1048576, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 257) USING (k) ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 3 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 4 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 5 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number, number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number, number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(number, number) AS a FROM system.numbers LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 6 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE a LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE a LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT number AS k, toString(number) AS a FROM system.numbers WHERE a LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 7 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 8 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 9 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 10 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 12 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, -9223372036854775807 ) USING (k) WHERE toNullable(toNullable(toInt128(65537))) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, -9223372036854775807) USING (k) WHERE toNullable(toNullable(toInt128(65537))) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 13 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 14 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 15 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY materialize(materialize(65537)), toNullable(toDecimal256(1., 62)) LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY materialize(materialize(65537)), toNullable(toDecimal256(1., 62)) LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 1048575) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY materialize(materialize(65537)), toNullable(toDecimal256(1., 62)) LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 17 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 18 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 20 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(6, number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, 2147483646, toString(6, number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, 2147483646, toString(6, number) AS a FROM system.numbers LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 21 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 100 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 SELECT materialize(1024), k, a, b FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 2147483646 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, -2147483647 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT materialize(1024), k, a, b FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 2147483646) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, -2147483647) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 24 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 26 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 28 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 29 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 30 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 31 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 32 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(materialize(1)) LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(materialize(1)) LIMIT 1048575, 100) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 34 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 35 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 37 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 38 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 40 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 41 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 42 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FR. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 43 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 44 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 45 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 100 ) USING (k) ORDER BY k DESC NULLS LAST Got boring AST Fuzzing step 46 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 2147483648 ) USING (k) GROUP BY 2147483646 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 2147483648) USING (k) GROUP BY 2147483646 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 2]. In scope SELECT k, a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 2147483648) USING (k) GROUP BY 2147483646 ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 48 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 50 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 52 out of 1000 SELECT k, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 53 out of 1000 SELECT k, a FROM ( SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 SELECT k, a FROM ( SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT k, a FROM ( SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 56 out of 1000 SELECT k, a FROM ( SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, materialize(toLowCardinality(toLowCardinality(1))), toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT k, a FROM ( SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, materialize(toLowCardinality(1)), toString(number) AS b FROM system.numbers GROUP BY toString(number), toInt256(65537), 7 LIMIT 1048575, 1048575 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a FROM (SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, materialize(toLowCardinality(1)), toString(number) AS b FROM system.numbers GROUP BY toString(number), toInt256(65537), 7 LIMIT 1048575, 1048575) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 7 is out of bounds. Expected in range [1, 3]. In scope SELECT number AS k, materialize(toLowCardinality(1)), toString(number) AS b FROM system.numbers GROUP BY toString(number), toInt256(65537), 7 LIMIT 1048575, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 58 out of 1000 SELECT k, a FROM ( SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, materialize(toLowCardinality(toLowCardinality(1))), toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 59 out of 1000 SELECT k, a FROM ( SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, materialize(toLowCardinality(toLowCardinality(1))), toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 60 out of 1000 SELECT k, a FROM ( SELECT number AS k, materialize(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT k, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 EXPLAIN SYNTAX SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(toNullable(toNullable(1)), number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a FROM (SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(toNullable(toNullable(1)), number) AS b FROM system.numbers LIMIT 1048575, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toNullable(toNullable(1)), number) AS b FROM system.numbers LIMIT 1048575, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 67 out of 1000 EXPLAIN ESTIMATE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a FROM (SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a FROM (SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 71 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 72 out of 1000 EXPLAIN PIPELINE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 74 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 75 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 76 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 78 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 79 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 80 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 81 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 82 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 83 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT k, a FROM ( SELECT number AS k, toLowCardinality(65535), toNullable(2147483646), toString(number) AS a FROM system.numbers WHERE toLowCardinality(toNullable(1048576)) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a FROM (SELECT number AS k, toLowCardinality(65535), toNullable(2147483646), toString(number) AS a FROM system.numbers WHERE toLowCardinality(toNullable(1048576)) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 1048575, 10) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 85 out of 1000 EXPLAIN SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 86 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 88 out of 1000 EXPLAIN AST SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 EXPLAIN QUERY TREE SELECT k, a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 90 out of 1000 SELECT a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT a FROM ( SELECT number AS k, toLowCardinality(toLowCardinality(toInt128(65535))), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 SELECT a FROM ( SELECT number AS k, toLowCardinality(toInt128(65535)), toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT a FROM ( SELECT number AS k, toLowCardinality(toInt128(65535)), 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT a FROM (SELECT number AS k, toLowCardinality(toInt128(65535)), 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 94 out of 1000 SELECT a FROM ( SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 95 out of 1000 SELECT a FROM ( SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 96 out of 1000 SELECT toLowCardinality(2147483646), a FROM ( SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT -9223372036854775807 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT toLowCardinality(2147483646), a FROM (SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT -9223372036854775807) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 97 out of 1000 SELECT a FROM ( SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 SELECT a FROM ( SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT 65536) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 99 out of 1000 SELECT a FROM ( SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0.0001 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toInt128(65535), toNullable(toLowCardinality(2147483646)), toString(number) AS a FROM system.numbers LIMIT 65536) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 0.0001) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 100 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(65535), toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), toString(number) AS a FROM system.numbers LIMIT 65536 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) PREWHERE t__fuzz_12 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, materialize(65535), toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), toString(number) AS a FROM system.numbers LIMIT 65536) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3) USING (k) PREWHERE t__fuzz_12 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_12' in scope SELECT a FROM (SELECT number AS k, materialize(65535), toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), toString(number) AS a FROM system.numbers LIMIT 65536) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3) USING (k) PREWHERE t__fuzz_12 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 102 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 3 ) USING (k) WHERE t__fuzz_32 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 65535, toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483648, 3) USING (k) WHERE t__fuzz_32 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 104 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(materialize(toUInt128(62)), 2147483646))))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 65535, toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(materialize(toUInt128(62)), 2147483646))))), toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, 65535, toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(materialize(toUInt128(62)), 2147483646))))), toString(number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071b92db 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 23. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 26. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 27. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 28. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 29. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 31. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae Fuzzing step 105 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 106 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1048575, 3 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 3 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers GROUP BY materialize(toNullable(1)), toNullable(0), toLowCardinality(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(toNullable(toDecimal128(1., 29)), number) AS b FROM system.numbers LIMIT 7, 3 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers GROUP BY materialize(toNullable(1)), toNullable(0), toLowCardinality(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(toNullable(toDecimal128(1., 29)), number) AS b FROM system.numbers LIMIT 7, 3) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers GROUP BY materialize(toNullable(1)), toNullable(0), toLowCardinality(1) LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 109 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers GROUP BY number, toNullable(65537), toNullable(1) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers GROUP BY number, toNullable(65537), toNullable(1) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 0) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.010362016 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 111 out of 1000 SELECT a FROM ( SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toLowCardinality(1), toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) PREWHERE toLowCardinality(toNullable(65537)) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toLowCardinality(1), toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 0) USING (k) PREWHERE toLowCardinality(toNullable(65537)) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toLowCardinality(1), toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 112 out of 1000 SELECT materialize(toNullable(materialize(toNullable(65537)))), a FROM ( SELECT number AS k, 65535, toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 113 out of 1000 SELECT materialize(toNullable(materialize(toNullable(65537)))), a FROM ( SELECT number AS k, 65535, toLowCardinality(toNullable(toInt128(2147483646))), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 SELECT materialize(toNullable(materialize(toNullable(65537)))), a FROM ( SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 SELECT materialize(toNullable(materialize(toNullable(65537)))), a FROM ( SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 116 out of 1000 SELECT materialize(toNullable(materialize(65537))), a FROM ( SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toDecimal128(materialize(toNullable(1.)), toLowCardinality(30)), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 SELECT materialize(toNullable(materialize(65537))), a FROM ( SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 EXPLAIN SYNTAX SELECT materialize(toNullable(materialize(65537))), a FROM ( SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers PREWHERE t__fuzz_10 LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN SYNTAX SELECT materialize(toNullable(materialize(65537))), a FROM (SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers PREWHERE t__fuzz_10 LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Missing columns: 't__fuzz_10' while processing query: 'SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers PREWHERE t__fuzz_10 LIMIT 10', required columns: 'number' 't__fuzz_10', maybe you meant: 'number': While processing SELECT materialize(toNullable(materialize(65537))), a FROM (SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers PREWHERE t__fuzz_10 LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0) USING (k) ORDER BY k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000011883aea 4. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000011887e38 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e811 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x00000000116a42f5 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:154: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x00000000116a270c 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x00000000116a4f54 11. /build/src/Interpreters/getTableExpressions.cpp:91: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x000000001192d9f0 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::JoinedTables::resolveTables() @ 0x00000000116c192a 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:477: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160f497 14. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 17. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 18. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 19. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 22. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 119 out of 1000 SELECT materialize(toNullable(materialize(65537))), a FROM ( SELECT number AS k, materialize(65535), toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT materialize(toNullable(materialize(65537))), a FROM ( SELECT number AS k, 65535, toNullable(toInt128(2147483646)), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 121 out of 1000 SELECT materialize(toNullable(materialize(65537))), a FROM ( SELECT number AS k, 65535, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 122 out of 1000 SELECT toNullable(materialize(65537)), a FROM ( SELECT number AS k, 65535, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) GROUP BY t__fuzz_32, t__fuzz_34 ORDER BY k DESC Error on processing query 'SELECT toNullable(materialize(65537)), a FROM (SELECT number AS k, 65535, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0) USING (k) GROUP BY t__fuzz_32, t__fuzz_34 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT toNullable(materialize(65537)), a FROM (SELECT number AS k, 65535, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toDecimal128(toNullable(1.), 30), toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0) USING (k) GROUP BY t__fuzz_32, t__fuzz_34 ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 123 out of 1000 SELECT toNullable(materialize(65537)), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 124 out of 1000 SELECT toNullable(materialize(65537)), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 125 out of 1000 SELECT toNullable(materialize(65537)), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 126 out of 1000 SELECT toNullable(materialize(65537)), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) PREWHERE 5 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT toNullable(materialize(65537)), a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0) USING (k) PREWHERE 5 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 127 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(62) WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(62) WHERE toNullable(62) LIMIT 7, 0) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 128 out of 1000 EXPLAIN PIPELINE header = true SELECT materialize(65537), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0 ) USING (k) ORDER BY k DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE header = true SELECT materialize(65537), a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers WHERE toNullable(62) LIMIT 7, 0) USING (k) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 129 out of 1000 SELECT materialize(65537), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 SELECT materialize(65537), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 131 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) WHERE 29 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) WHERE 29 ORDER BY k ASC Got boring AST Fuzzing step 134 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers LIMIT -2, 0 ) USING (k) WHERE 29 ORDER BY k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toNullable(1.), 30, toString(number) AS b FROM system.numbers LIMIT -2, 0) USING (k) WHERE 29 ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 135 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 0 ) USING (k) WHERE 29 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT NULL, 0 ) USING (k) WHERE 29 ORDER BY k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT NULL, 0) USING (k) WHERE 29 ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT NULL, 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 137 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 256 ) USING (k) WHERE 29 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 256 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 256 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 142 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 143 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toInt128(65537)) LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toInt128(65537)) LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 144 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646))))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 145 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 146 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(toLowCardinality(toInt128(2147483646))), number AS k, 1., 30, toString(toNullable(65537), number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT toLowCardinality(toLowCardinality(toInt128(2147483646))), number AS k, 1., 30, toString(toNullable(65537), number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT toLowCardinality(toLowCardinality(toInt128(2147483646))), number AS k, 1., 30, toString(toNullable(65537), number) AS b FROM system.numbers LIMIT 7, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 147 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(materialize(toLowCardinality(toNullable(1))), toInt128(2147483646))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT toNullable(toLowCardinality(materialize(toLowCardinality(toNullable(1))), toInt128(2147483646))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toNullable(toLowCardinality(materialize(toLowCardinality(toNullable(1))), toInt128(2147483646))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 148 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 9223372036854775806 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 9223372036854775806) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.189035681 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 149 out of 1000 EXPLAIN optimize = true SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 9223372036854775807 ORDER BY k ASC Error on processing query 'EXPLAIN optimize = true SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 9223372036854775807 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "optimize" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 150 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toInt128(2147483646))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, -2147483649 ) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT toNullable(toLowCardinality(toInt128(2147483646))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, -2147483649) USING (k) WHERE 29 ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 151 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toInt128(2147483646))), number AS k, 1., materialize(toLowCardinality(30)), toString(number) AS b FROM system.numbers LIMIT 7, 1023 ) USING (k) PREWHERE toLowCardinality(toNullable(1048576)) WHERE 29 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT toNullable(toLowCardinality(toInt128(2147483646))), number AS k, 1., materialize(toLowCardinality(30)), toString(number) AS b FROM system.numbers LIMIT 7, 1023) USING (k) PREWHERE toLowCardinality(toNullable(1048576)) WHERE 29 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 0 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 153 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 154 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 155 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toLowCardinality(toInt128(2147483646)))), number AS k, 1., 30, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 156 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toInt128(2147483646))), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toInt128(2147483646))), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Got boring AST Fuzzing step 158 out of 1000 SELECT materialize(materialize(1)), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toInt128(2147483646))), materialize(toNullable(1., 62), toInt128(65535)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT materialize(materialize(1)), a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT toNullable(toLowCardinality(toInt128(2147483646))), materialize(toNullable(1., 62), toInt128(65535)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(toLowCardinality(toInt128(2147483646))), materialize(toNullable(1., 62), toInt128(65535)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 159 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toInt128(2147483646))), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Got boring AST Fuzzing step 160 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toNullable(toLowCardinality(toInt128(2147483646))), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Got boring AST Fuzzing step 161 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(toInt128(2147483646)), toNullable(toLowCardinality(toNullable(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 162 out of 1000 SELECT a FROM ( SELECT number AS k, toLowCardinality(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(toLowCardinality(toNullable(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 SELECT a FROM ( SELECT number AS k, toLowCardinality(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(toLowCardinality(toNullable(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 257 ORDER BY k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toLowCardinality(toNullable(2147483646)), toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT toInt128(2147483646), toNullable(toLowCardinality(toNullable(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 257 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 164 out of 1000 SELECT a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toLowCardinality(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(toInt256(toLowCardinality(65537)), toNullable(toInt256(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 2 ) USING (k) WHERE 29 ORDER BY k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(toInt256(toLowCardinality(65537)), toNullable(toInt256(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 2) USING (k) WHERE 29 ORDER BY k DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 2147483646, toLowCardinality(toInt256(toLowCardinality(65537)), toNullable(toInt256(65537))), number AS k, toString(number) AS b FROM system.numbers LIMIT 0, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 166 out of 1000 SELECT a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toLowCardinality(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Got boring AST Fuzzing step 167 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE '104857.5' ORDER BY k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE '104857.5' ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE '104857.5' ORDER BY k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 168 out of 1000 SELECT a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 SELECT a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 SELECT a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers WHERE materialize(toDecimal32(1., 0)) LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(toLowCardinality(2147483646)), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) PREWHERE 1023 ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers WHERE materialize(toDecimal32(1., 0)) LIMIT 65535) ANY FULL OUTER JOIN (SELECT toInt128(toLowCardinality(2147483646)), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) PREWHERE 1023 ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers WHERE materialize(toDecimal32(1., 0)) LIMIT 65535 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 171 out of 1000 SELECT a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 SELECT a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k DESC Got boring AST Fuzzing step 173 out of 1000 SELECT toLowCardinality(30), a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 EXPLAIN AST graph = true SELECT toLowCardinality(30), a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC Error on processing query 'EXPLAIN AST graph = true SELECT toLowCardinality(30), a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT toInt128(2147483646), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 29 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "graph" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 175 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(toLowCardinality(2147483646)), toNullable(9223372036854775806, 65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC Error on processing query 'SELECT 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT toInt128(toLowCardinality(2147483646)), toNullable(9223372036854775806, 65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 29 ORDER BY k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toInt128(toLowCardinality(2147483646)), toNullable(9223372036854775806, 65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 176 out of 1000 SELECT t__fuzz_24, toLowCardinality(30), a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT t__fuzz_24, toLowCardinality(30), a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 29 ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_24' in scope SELECT t__fuzz_24, toLowCardinality(30), a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) WHERE 29 ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 177 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) WHERE 29 ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 178 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT toInt128(2147483646), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 EXPLAIN PIPELINE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 EXPLAIN QUERY TREE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 181 out of 1000 EXPLAIN QUERY TREE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 182 out of 1000 EXPLAIN SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 EXPLAIN SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 184 out of 1000 EXPLAIN SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 185 out of 1000 EXPLAIN SYNTAX SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 EXPLAIN SYNTAX SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 187 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('30'): 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT 214748364. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 188 out of 1000 EXPLAIN SYNTAX SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 189 out of 1000 EXPLAIN SYNTAX SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 190 out of 1000 EXPLAIN AST SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 191 out of 1000 EXPLAIN SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 192 out of 1000 EXPLAIN SYNTAX SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 193 out of 1000 EXPLAIN SYNTAX SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 194 out of 1000 EXPLAIN SYNTAX SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 195 out of 1000 EXPLAIN AST SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN SYNTAX SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 SELECT 30, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers WHERE materialize(toLowCardinality(toInt128(65537))) LIMIT 7, 2 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 30, a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers WHERE materialize(toLowCardinality(toInt128(65537))) LIMIT 7, 2) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(Int128) of column materialize(_CAST('65537'_LowCardinality(Int128), 'LowCardinality(Int128)'_String)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 198 out of 1000 EXPLAIN SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 EXPLAIN SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 200 out of 1000 EXPLAIN QUERY TREE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 201 out of 1000 EXPLAIN QUERY TREE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 202 out of 1000 EXPLAIN QUERY TREE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 203 out of 1000 EXPLAIN QUERY TREE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 204 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('30'): 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535) ANY FULL OUTER JOIN (SELECT 214748364. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 205 out of 1000 EXPLAIN PIPELINE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 206 out of 1000 EXPLAIN PIPELINE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 207 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(toLowCardinality(65535)), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 209 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(toLowCardinality(65535)), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 210 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(toLowCardinality(65535)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 65535 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(toLowCardinality(65535)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(toLowCardinality(65535)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2 ) USING (k) ORDER BY k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 2 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 2) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 214 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(toLowCardinality(65535)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 SELECT 30, a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 2147483647 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(toLowCardinality(65535)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 30, a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 2147483647) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(toLowCardinality(65535)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000145787 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 216 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65535, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('30'): 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT 2147483. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 218 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 219 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers WHERE toInt128(toInt256(65535)) LIMIT 3, 2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers WHERE toInt128(toInt256(65535)) LIMIT 3, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Illegal type Int128 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 220 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 221 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 222 out of 1000 EXPLAIN AST graph = true SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'EXPLAIN AST graph = true SELECT 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 3) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "graph" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 223 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 30, a FROM ( SELECT number AS k, toNullable(toDecimal128(1., 30), 2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 30, a FROM (SELECT number AS k, toNullable(toDecimal128(1., 30), 2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 224 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2 ) USING (k) PREWHERE materialize(1) ORDER BY k DESC Error on processing query 'SELECT 30, a FROM (SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577) ANY FULL OUTER JOIN (SELECT 2147483646, toLowCardinality(65535), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 2) USING (k) PREWHERE materialize(1) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toNullable(2147483646), toString(number) AS a FROM system.numbers LIMIT 1048577 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 225 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 227 out of 1000 SELECT 30, a FROM ( SELECT number AS k, toNullable(2147483646), toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 1048577 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 228 out of 1000 SELECT 30, a FROM ( SELECT number AS k, 2147483646, toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 229 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 1 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 1) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 231 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 232 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, materialize(65537), number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(toLowCardinality(toNullable(1024)))) LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, materialize(65537), number AS k, toString(number) AS b FROM system.numbers PREWHERE toLowCardinality(toNullable(toLowCardinality(toNullable(1024)))) LIMIT 1048576, 1) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 233 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(toLowCardinality(65535)), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 234 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), number) AS b FROM system.numbers LIMIT 1048576, 1) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 2147483646, 65535, 65537, number AS k, toString(toLowCardinality(toLowCardinality(toNullable(toInt128(2147483646)))), number) AS b FROM system.numbers LIMIT 1048576, 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 235 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 2147483647 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 2147483647) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 14.077684885 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 238 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 239 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) PREWHERE toLowCardinality(toNullable(toInt128(1048576))) ORDER BY k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1) USING (k) PREWHERE toLowCardinality(toNullable(toInt128(1048576))) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 240 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toInt256(65535), toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 241 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 243 out of 1000 SELECT 1, a FROM ( SELECT number AS k, toNullable(2147483646), 65535, toString(number) AS a FROM system.numbers LIMIT NULL ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT 1, a FROM (SELECT number AS k, toNullable(2147483646), 65535, toString(number) AS a FROM system.numbers LIMIT NULL) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toNullable(2147483646), 65535, toString(number) AS a FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 244 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 1048576, 1 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 245 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 EXPLAIN PIPELINE header = true SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 2 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE header = true SELECT a FROM (SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 249 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 EXPLAIN PIPELINE header = true SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT -2147483647 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY k DESC Error on processing query 'EXPLAIN PIPELINE header = true SELECT a FROM (SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT -2147483647) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 251 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, toInt256(62, 65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 1 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, toInt256(62, 65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 1) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 2147483646, 65535, toInt256(62, 65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071c9d3b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 252 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, toInt256(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 253 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), materialize(65535), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(toLowCardinality(16), materialize(2147483646)), materialize(65535), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, materialize(toLowCardinality(16), materialize(2147483646)), materialize(65535), toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT number AS k, materialize(toLowCardinality(16), materialize(2147483646)), materialize(65535), toString(number) AS a FROM system.numbers LIMIT 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 256 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 1 ) USING (k) ORDER BY k DESC Got boring AST Fuzzing step 258 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 100, 1 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 100, 1 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 260 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers PREWHERE toString(number) LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 100, 1 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers PREWHERE toString(number) LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 100, 1) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers PREWHERE toString(number) LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x00000000110887ad 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 261 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000189178 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 262 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(2147483646), 65535, toLowCardinality(toLowCardinality(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 100, 1 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(2147483646), 65535, 256, toLowCardinality(toLowCardinality(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(2147483646), 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, -2 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toLowCardinality(2147483646), 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, -2) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 265 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 268 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 270 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 273 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 274 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 275 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 276 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 278 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 280 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 281 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 282 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 283 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 284 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 285 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) PREWHERE materialize(toNullable(1024)) ORDER BY k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023) USING (k) PREWHERE materialize(toNullable(1024)) ORDER BY k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 286 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 287 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 288 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 289 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k DESC NULLS FIRST Got boring AST Fuzzing step 291 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, 65535, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 297 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 298 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 299 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 300 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 303 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 304 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 307 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 308 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 309 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 310 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 312 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 313 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 EXPLAIN TABLE OVERRIDE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('a'): a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toDecimal256(1., 62), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 315 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS FIRST Got boring AST Fuzzing step 316 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., toUInt128(62)), 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toDecimal256(1., toUInt128(62)), 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 1048576) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: A value of illegal type was provided as 2nd argument 'scale' to function 'toDecimal256'. Expected: const Integer, got: UInt128: In scope SELECT toDecimal256(1., toUInt128(62)), 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception> const&, String, std::basic_string_view> const&, String>(int, FormatStringHelperImpl::type, std::type_identity> const&>::type, std::type_identity::type, std::type_identity> const&>::type, std::type_identity::type>, String&&, std::basic_string_view> const&, String&&, std::basic_string_view> const&, String&&) @ 0x00000000070340f9 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000000703242a 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007031e3b 6. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::(anonymous namespace)::NameToDecimal256, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x0000000007324f61 7. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000731747b 8. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 9. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 10. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 318 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 257, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 257, 1048576) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 257, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 319 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) PREWHERE toLowCardinality(1) ORDER BY materialize(toNullable(1)) ASC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) PREWHERE toLowCardinality(1) ORDER BY materialize(toNullable(1)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 320 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(toLowCardinality(1.), 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) GROUP BY 65537 ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toDecimal256(toLowCardinality(1.), 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) GROUP BY 65537 ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toDecimal256(toLowCardinality(1.), 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) GROUP BY 65537 ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 321 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 EXPLAIN ESTIMATE SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toDecimal256(1., 62), 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS LAST Got boring AST Fuzzing step 323 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k ASC NULLS FIRST Got boring AST Fuzzing step 326 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k ASC Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY toNullable(2147483646), t__fuzz_41, toNullable(toInt128(2147483646)), toInt128(toInt256(1)) LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS FIRST, k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY toNullable(2147483646), t__fuzz_41, toNullable(toInt128(2147483646)), toInt128(toInt256(1)) LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers GROUP BY toNullable(2147483646), t__fuzz_41, toNullable(toInt128(2147483646)), toInt128(toInt256(1)) LIMIT 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 328 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, toLowCardinality(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k ASC Got boring AST Fuzzing step 329 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, toLowCardinality(1), 2., 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, toLowCardinality(1), 2., 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, toLowCardinality(1), 2., 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k DESC Got boring AST Fuzzing step 332 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 2., 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_41 LIMIT 2147483646, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 336 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 337 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(255, number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(255, number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(255, number) AS b FROM system.numbers LIMIT 2147483646, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 338 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT -1 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT -1) ANY FULL OUTER JOIN (SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 339 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(2147483646), toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 341 out of 1000 SELECT a FROM ( SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 2147483646, toString(number) AS a FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -1, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 342 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 344 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 1., 62, 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Got boring AST Fuzzing step 345 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 SELECT a FROM ( SELECT number AS k, toLowCardinality(2147483646), toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1) LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toLowCardinality(2147483646), toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1) LIMIT 1023) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toLowCardinality(2147483646), toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1) LIMIT 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 349 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 SELECT a FROM ( SELECT number AS k, t__fuzz_20, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers WHERE toUInt128(30) LIMIT 2147483646, 1048577 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, t__fuzz_20, toString(number) AS a FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers WHERE toUInt128(30) LIMIT 2147483646, 1048577) USING (k) ORDER BY materialize(toNullable(1)) ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_20' in scope SELECT number AS k, t__fuzz_20, toString(number) AS a FROM system.numbers LIMIT 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 352 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC Got boring AST Fuzzing step 353 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(materialize(65537), number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(materialize(65537), number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(materialize(65537), number) AS b FROM system.numbers LIMIT 2147483646, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 355 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Got boring AST Fuzzing step 356 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Got boring AST Fuzzing step 357 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, materialize(t__fuzz_1, 1048576) ASC, k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC, materialize(t__fuzz_1, 1048576) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_1' in scope SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC, materialize(t__fuzz_1, 1048576) ASC, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 11. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 15. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 16. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 25. ? @ 0x00007ffa70350ac3 26. ? @ 0x00007ffa703e2850 Fuzzing step 358 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1023) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 359 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, materialize(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, materialize(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 2 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT 2147483646, toNullable(65535), 256, materialize(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 2) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 361 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, materialize(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, materialize(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT 2147483646, toNullable(65535), 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775806, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000136379 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 365 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC Got boring AST Fuzzing step 366 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT 2147483646, toNullable(65535), 256, 1, number AS k, toString(number) AS b FROM system.numbers LIMIT 9223372036854775807, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000122395 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 367 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, toNullable(65535), 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC Got boring AST Fuzzing step 368 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS FIRST Got boring AST Fuzzing step 370 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, -2147483648 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, -2147483648) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 371 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY materialize(toLowCardinality(1)), toLowCardinality(toUInt256(62)) LIMIT 2147483646, 1048576 ) USING (k) GROUP BY toLowCardinality(toLowCardinality(toInt128(65535))), toLowCardinality(16) ORDER BY materialize(toNullable(1)) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY materialize(toLowCardinality(1)), toLowCardinality(toUInt256(62)) LIMIT 2147483646, 1048576) USING (k) GROUP BY toLowCardinality(toLowCardinality(toInt128(65535))), toLowCardinality(16) ORDER BY materialize(toNullable(1)) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY materialize(toLowCardinality(1)), toLowCardinality(toUInt256(62)) LIMIT 2147483646, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 373 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 SELECT a FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 SELECT a FROM ( SELECT number AS k, toString(t__fuzz_10, number) AS a FROM system.numbers LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toString(t__fuzz_10, number) AS a FROM system.numbers LIMIT 3) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_10' in scope SELECT number AS k, toString(t__fuzz_10, number) AS a FROM system.numbers LIMIT 3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 377 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 EXPLAIN indexes = true, json = true SELECT a FROM ( SELECT number AS k, materialize(toNullable(62)), toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, toLowCardinality(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS FIRST Error on processing query 'EXPLAIN indexes = true, json = true SELECT a FROM (SELECT number AS k, materialize(toNullable(62)), toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT 2147483646, 65535, toLowCardinality(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "indexes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 379 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT toNullable(toInt256(2147483646)), 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 1048576 ) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 1048576) ANY FULL OUTER JOIN (SELECT toNullable(toInt256(2147483646)), 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 1048576) USING (k) ORDER BY materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 380 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 1048576 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Got boring AST Fuzzing step 381 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 2147483646, 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST, k DESC Got boring AST Fuzzing step 385 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, 65537, number AS k, toString(t__fuzz_14, number) AS b FROM system.numbers PREWHERE materialize(65537) LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257) ANY FULL OUTER JOIN (SELECT 65535, 256, 1, 65537, number AS k, toString(t__fuzz_14, number) AS b FROM system.numbers PREWHERE materialize(65537) LIMIT 65536, 1048576) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_14' in scope SELECT 65535, 256, 1, 65537, number AS k, toString(t__fuzz_14, number) AS b FROM system.numbers PREWHERE materialize(65537) LIMIT 65536, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 386 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST, k DESC Got boring AST Fuzzing step 387 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE 0 LIMIT 65536, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257) ANY FULL OUTER JOIN (SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers PREWHERE 0 LIMIT 65536, 1048576) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 388 out of 1000 SELECT a FROM ( SELECT number AS k, toUInt128(62), toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 389 out of 1000 SELECT a FROM ( SELECT number AS k, toUInt128(62), toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers WHERE Memory LIMIT 257, 1048576 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toString(number) AS a FROM system.numbers LIMIT 257) ANY FULL OUTER JOIN (SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers WHERE Memory LIMIT 257, 1048576) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'Memory' in scope SELECT 65535, 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers WHERE Memory LIMIT 257, 1048576. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 391 out of 1000 SELECT a FROM ( SELECT number AS k, toUInt128(62), 16, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 SELECT a FROM ( SELECT number AS k, toUInt128(62), 16, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 SELECT a FROM ( SELECT number AS k, toUInt128(62), 16, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 SELECT a FROM ( SELECT number AS k, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -1 ) USING (k) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 0) ANY FULL OUTER JOIN (SELECT 65535, 256, toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -1) USING (k) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 395 out of 1000 SELECT a FROM ( SELECT number AS k, toUInt128(62), 16, toString(number) AS a FROM system.numbers LIMIT 0 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(256), toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(256), toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(256), toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 EXPLAIN PIPELINE header = true SELECT a FROM ( SELECT 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(256), toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT a FROM (SELECT 62, 16, toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, toInt128(256), toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 399 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(256), toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers WHERE toInt128(toInt128(65537)) LIMIT 257, -9223372036854775807 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, toInt128(256), toInt128(1), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers WHERE toInt128(toInt128(65537)) LIMIT 257, -9223372036854775807) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 400 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(256), toInt128(toInt256(1)), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT NULL ) ANY FULL OUTER JOIN ( SELECT materialize(65535), 256, toInt128(toInt256(1)), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT NULL) ANY FULL OUTER JOIN (SELECT materialize(65535), 256, toInt128(toInt256(1)), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 402 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(256), toInt128(toInt256(1)), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(toNullable(256)), toInt128(toInt256(1)), toInt128(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(toNullable(256)), toInt128(toInt256(1)), 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(1048576), toLowCardinality(toInt256(65537)), 0. LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, toInt128(toNullable(256)), toInt128(toInt256(1)), 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(1048576), toLowCardinality(toInt256(65537)), 0. LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT 65535, toInt128(toNullable(256)), toInt128(toInt256(1)), 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(1048576), toLowCardinality(toInt256(65537)), 0. LIMIT 257, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 405 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(toNullable(256)), toInt128(toInt256(1)), toInt128(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toInt128(toNullable(256)), toInt256(1), materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toInt256(1), materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 410 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 EXPLAIN PIPELINE compact = true SELECT toNullable(1048576), a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC NULLS LAST, k DESC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toNullable(1048576), a FROM (SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 413 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toLowCardinality(1.)) LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 16, toString(number) AS a FROM system.numbers WHERE toLowCardinality(toLowCardinality(1.)) LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Float64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 414 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(toUInt128(62)), 16, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(materialize(toNullable(256))), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(toUInt128(62)), toNullable(toUInt128(16)), toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toUInt128(toUInt128(62)), toNullable(toUInt128(16)), toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, materialize(toNullable(256)), toInt256(toInt128(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 10) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 416 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(toUInt128(62)), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(materialize(toNullable(256))), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(65536, number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(materialize(toNullable(256))), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(1), materialize(materialize(toInt128(65537), materialize(65535))) LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(65536, number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, toNullable(materialize(toNullable(256))), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(1), materialize(materialize(toInt128(65537), materialize(65535))) LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(65536, number) AS a FROM system.numbers LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 418 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(toUInt128(62)), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(materialize(toNullable(256))), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(materialize(toNullable(256))), toInt256(toInt128(1), 1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, toNullable(materialize(toNullable(256))), toInt256(toInt128(1), 1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 10) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, toNullable(materialize(toNullable(256))), toInt256(toInt128(1), 1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 10, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071c9d3b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 420 out of 1000 SELECT a FROM ( SELECT number AS k, toLowCardinality(62), toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, toLowCardinality(62), toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, materialize(toNullable(256)), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT number AS k, toLowCardinality(62), toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 421 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(materialize(256)), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 9223372036854775807 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT 65535, toNullable(materialize(256)), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 9223372036854775807) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 13.58771775 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 422 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(toUInt128(62)), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 423 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(toLowCardinality(256))), toInt256(toNullable(62), 1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -1 ) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 65535, materialize(toNullable(toLowCardinality(256))), toInt256(toNullable(62), 1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -1) USING (k) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, materialize(toNullable(toLowCardinality(256))), toInt256(toNullable(62), 1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, -1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000071c9ea0 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 424 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(toUInt128(62)), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Got boring AST Fuzzing step 425 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(toUInt128(62)), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(1), 65537, number AS k, toString(toLowCardinality(toNullable(65537)), number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toUInt128(toUInt128(62)), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 65535, materialize(toNullable(256)), toInt256(1), 65537, number AS k, toString(toLowCardinality(toNullable(65537)), number) AS b FROM system.numbers LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT 65535, materialize(toNullable(256)), toInt256(1), 65537, number AS k, toString(toLowCardinality(toNullable(65537)), number) AS b FROM system.numbers LIMIT 257, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 426 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(1), materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers PREWHERE 76 LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(1), materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) DESC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers PREWHERE 76 LIMIT 2) ANY FULL OUTER JOIN (SELECT 65535, materialize(toNullable(256)), toInt256(1), materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 428 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(toLowCardinality(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(toInt256(65535))) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 429 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(toLowCardinality(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(toInt256(65535))) ASC, materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 430 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers GROUP BY toNullable(1) LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, materialize(toNullable(256)), toInt256(toLowCardinality(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(toInt256(65535))) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers GROUP BY toNullable(1) LIMIT 2) ANY FULL OUTER JOIN (SELECT 65535, materialize(toNullable(256)), toInt256(toLowCardinality(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(toInt256(65535))) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toString(number) AS a FROM system.numbers GROUP BY toNullable(1) LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 431 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toUInt128(62), toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toInt256(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 432 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 434 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 435 out of 1000 EXPLAIN PIPELINE SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 436 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 438 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 439 out of 1000 EXPLAIN QUERY TREE SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Got boring AST Fuzzing step 440 out of 1000 EXPLAIN SYNTAX SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 EXPLAIN AST SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 442 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483649, 10 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483649, 10) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 444 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT NULL ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT NULL) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 446 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY t, toNullable(1.), 30 LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY t, toNullable(1.), 30 LIMIT 257, 10) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Positional argument number 30 is out of bounds. Expected in range [1, 6]. In scope SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY t, toNullable(1.), 30 LIMIT 257, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 447 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(62), 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(toNullable(toInt256(1)), number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, materialize(62), 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(toNullable(toInt256(1)), number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, materialize(62), 62, toLowCardinality(16), toLowCardinality(toLowCardinality(65537)), toString(toNullable(toInt256(1)), number) AS a FROM system.numbers LIMIT 2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007291460 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 448 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 449 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(t__fuzz_43, 16), toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, toLowCardinality(t__fuzz_43, 16), toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_43' in scope SELECT number AS k, 62, 62, toLowCardinality(t__fuzz_43, 16), toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 451 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS LAST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 452 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toInt256(toLowCardinality(1)), t__fuzz_34, toInt128(1) LIMIT 3, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toInt256(toLowCardinality(1)), t__fuzz_34, toInt128(1) LIMIT 3, 10) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_34' in scope SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toInt256(toLowCardinality(1)), t__fuzz_34, toInt128(1) LIMIT 3, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toNullable(16), toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, toNullable(16), toLowCardinality(65537), toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775808, 10) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 455 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT materialize(toLowCardinality(65535)), toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT materialize(toLowCardinality(65535)), toNullable(256), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS LAST Got boring AST Fuzzing step 457 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT materialize(toLowCardinality(65535)), toNullable(toNullable(256)), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 458 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(toNullable(256)), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(toNullable(toUInt128(toUInt128(62)), 256)), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), toNullable(toNullable(toUInt128(toUInt128(62)), 256)), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(65535), toNullable(toNullable(toUInt128(toUInt128(62)), 256)), 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 460 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(toNullable(256)), 1, materialize(toInt256(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 10 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), 1, materialize(toInt256(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) DESC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), 1, materialize(toInt256(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) DESC, materialize(toNullable(1)) DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), toNullable(1), materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 257, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 464 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), toNullable(1), materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(toLowCardinality(30), 256), toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 65535, toNullable(toLowCardinality(30), 256), toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65535, toNullable(toLowCardinality(30), 256), toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 466 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), toNullable(1), materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC NULLS FIRST, k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), toNullable(256), toNullable(1), materialize(toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 1048575) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 467 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, toNullable(256), toNullable(1), materialize(materialize(62), toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS FIRST, k ASC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 65535, toNullable(256), toNullable(1), materialize(materialize(62), toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 65535, toNullable(256), toNullable(1), materialize(materialize(62), toNullable(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 468 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 469 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toLowCardinality(toInt128(2147483646))) LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(toNullable(256)), 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, '-0.02' ) USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) DESC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toLowCardinality(toInt128(2147483646))) LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), toNullable(toNullable(256)), 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, '-0.02') USING (k) WHERE toNullable(toLowCardinality(0)) ORDER BY toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual '-0.02'. In scope SELECT toLowCardinality(65535), toNullable(toNullable(256)), 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, '-0.02'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 472 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), toNullable(256), 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toLowCardinality(toNullable(62)), materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 474 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), materialize(16), 65537, toString(number) AS a FROM system.numbers LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers WHERE materialize(materialize(toLowCardinality(65537))) LIMIT 3, 1048575 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toNullable(62), materialize(16), 65537, toString(number) AS a FROM system.numbers LIMIT 255) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers WHERE materialize(materialize(toLowCardinality(65537))) LIMIT 3, 1048575) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Illegal type LowCardinality(UInt32) of column materialize(materialize(_CAST(65537_LowCardinality(UInt32), 'LowCardinality(UInt32)'_String))) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 476 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(t__fuzz_14, 62), materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toNullable(t__fuzz_14, 62), materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_14' in scope SELECT number AS k, 62, toNullable(t__fuzz_14, 62), materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 477 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), materialize(toLowCardinality(16)), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC Got boring AST Fuzzing step 478 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048575 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 481 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) PREWHERE 0. WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023) USING (k) PREWHERE 0. WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 482 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), 65537, toString(materialize(toLowCardinality(1.)), number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, toLowCardinality(16), 65537, toString(materialize(toLowCardinality(1.)), number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023) USING (k) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, 62, 62, toLowCardinality(16), 65537, toString(materialize(toLowCardinality(1.)), number) AS a FROM system.numbers LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 483 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), 256, 1, toNullable(65537), toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 1023) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 485 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), 16, materialize(toLowCardinality(16), materialize(2147483646)), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(65535), 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, toNullable(62), 16, materialize(toLowCardinality(16), materialize(2147483646)), 65537, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(65535), 256, 1, 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023) USING (k) WHERE toNullable(0) ORDER BY toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC NULLS LAST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT number AS k, 62, toNullable(62), 16, materialize(toLowCardinality(16), materialize(2147483646)), 65537, toString(number) AS a FROM system.numbers LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 486 out of 1000 SELECT a FROM ( SELECT number AS k, 62, toNullable(62), toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, 1, toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, toLowCardinality(16), 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT NULL ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers GROUP BY toDecimal256(1., materialize(toUInt128(62))), toLowCardinality(1) LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(toNullable(0)) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT NULL) ANY FULL OUTER JOIN (SELECT 65535, 256, toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers GROUP BY toDecimal256(1., materialize(toUInt128(62))), toLowCardinality(1) LIMIT 2147483646, 1023) USING (k) WHERE toNullable(toNullable(0)) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) DESC NULLS LAST, materialize(toNullable(1)) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT NULL. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 489 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT -1 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(toLowCardinality(toLowCardinality(1024)), 0) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT -1) ANY FULL OUTER JOIN (SELECT 65535, 256, toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023) USING (k) WHERE toNullable(toLowCardinality(toLowCardinality(1024)), 0) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 491 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1)) LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) DESC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1)) LIMIT 7) ANY FULL OUTER JOIN (SELECT 65535, 256, toNullable(1), toNullable(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) DESC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 492 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, materialize(toInt128(65537)), toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(toDecimal128(1., 30)), materialize(toNullable(256)), materialize(toNullable(65537)) LIMIT 1048577, 1023 ) USING (k) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS LAST Error on processing query 'SELECT a FROM (SELECT number AS k, 62, 62, 16, materialize(toInt128(65537)), toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT 65535, 256, toNullable(1), 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(toDecimal128(1., 30)), materialize(toNullable(256)), materialize(toNullable(65537)) LIMIT 1048577, 1023) USING (k) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) ASC, materialize(toNullable(1)) DESC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT 65535, 256, toNullable(1), 65537, number AS k, toString(number) AS b FROM system.numbers GROUP BY toNullable(toDecimal128(1., 30)), materialize(toNullable(256)), materialize(toNullable(65537)) LIMIT 1048577, 1023. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 494 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) DESC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(1), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) DESC, toDecimal32(1., 0) ASC NULLS FIRST, materialize(toNullable(1)) DESC, k DESC NULLS LAST Got boring AST Fuzzing step 496 out of 1000 SELECT a FROM ( SELECT number AS k, 62, 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toNullable(toNullable(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) DESC, toDecimal32(1., 0) ASC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 SELECT a FROM ( SELECT number AS k, materialize(toNullable(62)), 16, 65537, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT 65535, 256, toLowCardinality(toInt128(toInt256(65535))), toNullable(toNullable(1)), 65537, number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1023 ) USING (k) WHERE toNullable(0) ORDER BY toNullable(toNullable(toInt128(65537))) ASC, toDecimal32(1., 0) ASC NULLS LAST, materialize(toNullable(1)) ASC, k DESC NULLS LAST Current AST is too long, discarding it and using the original AST as a start Fuzzing step 498 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 500 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 501 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 65537 ) USING (k) ORDER BY k DESC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 65537) USING (k) ORDER BY k DESC': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 502 out of 1000 SELECT k, a, b FROM ( SELECT toInt256(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 503 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 505 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537) USING (k) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537) USING (k) ORDER BY k ASC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 509 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 511 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 512 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 513 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers GROUP BY 7 LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537 ) USING (k) ORDER BY toNullable(toInt128(65537)) ASC NULLS FIRST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers GROUP BY 7 LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE toNullable(0) LIMIT 3, 65537) USING (k) ORDER BY toNullable(toInt128(65537)) ASC NULLS FIRST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 7 is out of bounds. Expected in range [1, 3]. In scope SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers GROUP BY 7 LIMIT 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 514 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 65537) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_5' in scope SELECT 256, number AS k, toString(number) AS a FROM system.numbers WHERE t__fuzz_5 LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 516 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 3, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 517 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 65537) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 519 out of 1000 SELECT k, a, b FROM ( SELECT 256, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT 256, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a, b FROM (SELECT 256, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) ORDER BY k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 520 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775806 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775806) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.002397545 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 521 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 522 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 523 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 524 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 525 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 527 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 528 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 532 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 534 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 535 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 536 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 537 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 538 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) GROUP BY t__fuzz_17, materialize(toNullable(65537)), t__fuzz_19 ORDER BY toUInt128(30) ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) GROUP BY t__fuzz_17, materialize(toNullable(65537)), t__fuzz_19 ORDER BY toUInt128(30) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_17' in scope SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) GROUP BY t__fuzz_17, materialize(toNullable(65537)), t__fuzz_19 ORDER BY toUInt128(30) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 539 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 542 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 543 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 546 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 547 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 548 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 549 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 550 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 551 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 552 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 553 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 554 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 555 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 556 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 559 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 560 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 562 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 563 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 565 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 566 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 567 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 570 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 571 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 572 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 574 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 575 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 576 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 577 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 578 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 579 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Got boring AST Fuzzing step 580 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 581 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 585 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 586 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) GROUP BY toInt128(materialize(2147483646)), toInt128(toLowCardinality(toNullable(65537))), toLowCardinality(toInt128(1048576)), toLowCardinality(1) ORDER BY toUInt128(30) DESC NULLS FIRST, k DESC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) GROUP BY toInt128(materialize(2147483646)), toInt128(toLowCardinality(toNullable(65537))), toLowCardinality(toInt128(1048576)), toLowCardinality(1) ORDER BY toUInt128(30) DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) GROUP BY toInt128(materialize(2147483646)), toInt128(toLowCardinality(toNullable(65537))), toLowCardinality(toInt128(1048576)), toLowCardinality(1) ORDER BY toUInt128(30) DESC NULLS FIRST, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 588 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 590 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 591 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 592 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 593 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 594 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 0, toLowCardinality(toInt256(65537)), toInt128(toLowCardinality(toNullable(65537))), t__fuzz_29, materialize(65537) LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k DESC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 0, toLowCardinality(toInt256(65537)), toInt128(toLowCardinality(toNullable(65537))), t__fuzz_29, materialize(65537) LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Positional argument number 0 is out of bounds. Expected in range [1, 2]. In scope SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY 0, toLowCardinality(toInt256(65537)), toInt128(toLowCardinality(toNullable(65537))), t__fuzz_29, materialize(65537) LIMIT 2147483648, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 595 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 596 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 598 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 599 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 600 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 601 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 602 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 1024 ) USING (k) GROUP BY a, toNullable(65537), toNullable(65535) ORDER BY toUInt128(30) DESC NULLS FIRST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 1024) USING (k) GROUP BY a, toNullable(65537), toNullable(65535) ORDER BY toUInt128(30) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Column k is not under aggregate function and not in GROUP BY keys. In query SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 1024) USING (k) GROUP BY a, toNullable(65537), toNullable(65535) ORDER BY toUInt128(30) DESC NULLS FIRST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 603 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 606 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 607 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 608 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 609 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 610 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 611 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 612 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 613 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 614 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 616 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 618 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 619 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 622 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 624 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 627 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 629 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 630 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 631 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 632 out of 1000 SELECT k, a, b FROM ( SELECT 256, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT 256, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from left table expression. In scope SELECT k, a, b FROM (SELECT 256, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001106ccab 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069643 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 633 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) GROUP BY toLowCardinality(toNullable(65537)), t__fuzz_41 ORDER BY toUInt128(30) DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) GROUP BY toLowCardinality(toNullable(65537)), t__fuzz_41 ORDER BY toUInt128(30) DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_41' in scope SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) GROUP BY toLowCardinality(toNullable(65537)), t__fuzz_41 ORDER BY toUInt128(30) DESC NULLS LAST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 634 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 635 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 637 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 638 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 639 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 640 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 641 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 642 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 646 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 647 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 65537) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 649 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 652 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'b' in scope SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC. Maybe you meant: ['a']. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 654 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC, k ASC Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC, k ASC Got boring AST Fuzzing step 658 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY toUInt128(30) ASC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT 256, number AS k, toString(number) AS a FROM system.numbers WHERE toString(number) LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 659 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE materialize(toNullable(toInt256(65535))) LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE materialize(toNullable(toInt256(65535))) LIMIT 7, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Illegal type Nullable(Int256) of column materialize(_CAST('65535'_Nullable(Int256), 'Nullable(Int256)'_String)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 660 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC, k ASC Got boring AST Fuzzing step 661 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 3 ) USING (k) ORDER BY toUInt128(30) ASC, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers PREWHERE toLowCardinality(toNullable(65537)) LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 3) USING (k) ORDER BY toUInt128(30) ASC, k ASC': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 662 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) PREWHERE toLowCardinality(toNullable(1024)) ORDER BY toUInt128(30) DESC, t__fuzz_16 ASC, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) PREWHERE toLowCardinality(toNullable(1024)) ORDER BY toUInt128(30) DESC, t__fuzz_16 ASC, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_16' in scope SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) PREWHERE toLowCardinality(toNullable(1024)) ORDER BY toUInt128(30) DESC, t__fuzz_16 ASC, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 663 out of 1000 SELECT k, a, t__fuzz_9, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_40 LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC Error on processing query 'SELECT k, a, t__fuzz_9, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_40 LIMIT 7, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_40' in scope SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE t__fuzz_40 LIMIT 7, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 664 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 667 out of 1000 EXPLAIN PIPELINE header = true SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE header = true SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 668 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC NULLS LAST Got boring AST Fuzzing step 669 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 7, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_32 LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k DESC Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_32 LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 65537) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT 256, number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_32 LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 673 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 65537 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 EXPLAIN json = true, sorting = true SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 65537 ) USING (k) GROUP BY t__fuzz_17, 65536 ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'EXPLAIN json = true, sorting = true SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2, 65537) USING (k) GROUP BY t__fuzz_17, 65536 ORDER BY toUInt128(30) ASC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "json" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 675 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 SELECT k, toLowCardinality(toLowCardinality(toInt128(2147483646))), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 SELECT k, toLowCardinality(toLowCardinality(toInt128(2147483646))), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE materialize(65537) GROUP BY t__fuzz_15 LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, k ASC Error on processing query 'SELECT k, toLowCardinality(toLowCardinality(toInt128(2147483646))), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE materialize(65537) GROUP BY t__fuzz_15 LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_15' in scope SELECT number AS k, toString(number) AS b FROM system.numbers WHERE materialize(65537) GROUP BY t__fuzz_15 LIMIT 255, 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 678 out of 1000 SELECT k, toLowCardinality(toLowCardinality(toInt128(2147483646))), a, b FROM ( SELECT toLowCardinality(256), number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(62), t__fuzz_43, toLowCardinality(0) LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, k ASC Error on processing query 'SELECT k, toLowCardinality(toLowCardinality(toInt128(2147483646))), a, b FROM (SELECT toLowCardinality(256), number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(62), t__fuzz_43, toLowCardinality(0) LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, k ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_43' in scope SELECT toLowCardinality(256), number AS k, toString(number) AS a FROM system.numbers GROUP BY materialize(62), t__fuzz_43, toLowCardinality(0) LIMIT 7. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 679 out of 1000 SELECT k, toLowCardinality(toLowCardinality(materialize(toLowCardinality(1.)), toInt128(2147483646))), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, k ASC Error on processing query 'SELECT k, toLowCardinality(toLowCardinality(materialize(toLowCardinality(1.)), toInt128(2147483646))), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT k, toLowCardinality(toLowCardinality(materialize(toLowCardinality(1.)), toInt128(2147483646))), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 680 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 EXPLAIN PIPELINE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 682 out of 1000 EXPLAIN PIPELINE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 683 out of 1000 EXPLAIN PIPELINE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 684 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELEC. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 687 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 688 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 689 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 690 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 691 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 692 out of 1000 EXPLAIN SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 EXPLAIN ESTIMATE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 695 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 697 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 698 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 699 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 EXPLAIN SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 EXPLAIN ESTIMATE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 702 out of 1000 EXPLAIN ESTIMATE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 703 out of 1000 EXPLAIN ESTIMATE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 704 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELEC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 705 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 707 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 708 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 709 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 710 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 711 out of 1000 EXPLAIN QUERY TREE SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 712 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELEC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 714 out of 1000 EXPLAIN SYNTAX SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 715 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 717 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 718 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 719 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 720 out of 1000 EXPLAIN AST SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k DESC NULLS LAST Got boring AST Fuzzing step 721 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT -2 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT -2) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 724 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toInt128(65537)) LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC, k DESC NULLS LAST Error on processing query 'SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers WHERE materialize(toInt128(65537)) LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type Int128 of column materialize(_CAST('65537'_Int128, 'Int128'_String)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 725 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toLowCardinality(toInt128(65535)), number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) GROUP BY t__fuzz_16 ORDER BY toUInt128(30) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC, k DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toLowCardinality(toInt128(65535)), number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) GROUP BY t__fuzz_16 ORDER BY toUInt128(30) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 726 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC, k DESC Query succeeded, using this AST as a start Fuzzing step 727 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) WHERE toNullable(1024) ORDER BY toUInt128(30) DESC NULLS LAST, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC, k DESC Error on processing query 'SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) WHERE toNullable(1024) ORDER BY toUInt128(30) DESC NULLS LAST, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC, k DESC': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 728 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 SELECT k, toInt128(2147483646), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC Error on processing query 'SELECT k, toInt128(2147483646), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT k, toInt128(2147483646), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 730 out of 1000 SELECT k, toLowCardinality(2147483646), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775806 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC Error on processing query 'SELECT k, toLowCardinality(2147483646), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 9223372036854775806) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.000344967 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 731 out of 1000 EXPLAIN PIPELINE compact = true SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 255, 256) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 732 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 SELECT k, toLowCardinality(toInt128(2147483646)), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS FIRST, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(-0.) ASC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 SELECT k, toLowCardinality(2147483646), a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toUInt128(30) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) DESC NULLS LAST, materialize(toLowCardinality(16)) DESC, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC NULLS LAST, materialize(toLowCardinality(16)) DESC, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 7 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC NULLS LAST, materialize(toLowCardinality(16)) ASC, toNullable(-0.) ASC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 737 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(-0.) ASC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC, toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(-0.) ASC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toUInt128(30) DESC, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 SELECT k, a, b FROM ( SELECT materialize(toNullable(256)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT k, a, b FROM ( SELECT materialize(toNullable(256)), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) DESC NULLS FIRST, toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS LAST, k DESC Query succeeded, using this AST as a start Fuzzing step 743 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(62, number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 2 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT toNullable(256), number AS k, toString(62, number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 2) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toUInt128(30) ASC, toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT toNullable(256), number AS k, toString(62, number) AS a FROM system.numbers LIMIT 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 745 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -2147483647, 256) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 749 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 750 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(toUInt128(30), 256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT toNullable(toUInt128(30), 256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1023, 256) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(toUInt128(30), 256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 751 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(materialize(65537)), toUInt128(toUInt256(62)), materialize(toLowCardinality(1.)) LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(materialize(65537)), toUInt128(toUInt256(62)), materialize(toLowCardinality(1.)) LIMIT 1025, 256) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS b FROM system.numbers GROUP BY toLowCardinality(materialize(65537)), toUInt128(toUInt256(62)), materialize(toLowCardinality(1.)) LIMIT 1025, 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 752 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY materialize(toInt128(1048576)) ASC NULLS LAST, toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST Got boring AST Fuzzing step 753 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT k, a, b FROM ( SELECT toNullable(256), number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 1025, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS LAST Got boring AST Fuzzing step 759 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256 ) USING (k) GROUP BY t__fuzz_16, b, toLowCardinality(toInt128(65537)), 30 ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) ASC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256) USING (k) GROUP BY t__fuzz_16, b, toLowCardinality(toInt128(65537)), 30 ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) ASC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 30 is out of bounds. Expected in range [1, 3]. In scope SELECT k, a, b FROM (SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256) USING (k) GROUP BY t__fuzz_16, b, toLowCardinality(toInt128(65537)), 30 ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) ASC NULLS LAST, k ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 760 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS LAST Got boring AST Fuzzing step 763 out of 1000 SELECT k, a, b FROM ( SELECT 256, number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 256 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 2147483647 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483648, 2147483647) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.001891918 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 766 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC Got boring AST Fuzzing step 768 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM sys. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 769 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_0 LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_0 LIMIT 65537) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_0' in scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE t__fuzz_0 LIMIT 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 772 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.003844313 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 773 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) DESC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 776 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS FIRST, k ASC Got boring AST Fuzzing step 778 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 65537 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS LAST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) DESC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC, k ASC Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toDecimal128(1., 30) LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC, k ASC NULLS LAST Error on processing query 'SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers PREWHERE toDecimal128(1., 30) LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:0: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x0000000011669bf2 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 781 out of 1000 EXPLAIN AST graph = true SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC, k ASC NULLS LAST Error on processing query 'EXPLAIN AST graph = true SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "graph" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 782 out of 1000 SELECT toDecimal256(toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) DESC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k ASC Error on processing query 'SELECT toDecimal256(toLowCardinality(62)), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) DESC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toDecimal256'. Expected 2 arguments, got 1 argument: In scope SELECT toDecimal256(toLowCardinality(62)), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) DESC NULLS FIRST, toNullable(-0.) DESC NULLS LAST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::(anonymous namespace)::NameToDecimal256, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x0000000007324f61 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000731747b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 783 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) PREWHERE toNullable(1) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) DESC NULLS FIRST, toNullable(-0.) DESC, k ASC Error on processing query 'SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) PREWHERE toNullable(1) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) DESC NULLS FIRST, toNullable(-0.) DESC, k ASC': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2147483648 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 784 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(t__fuzz_18, 1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT toDecimal256(toLowCardinality(toLowCardinality(t__fuzz_18, 1.)), toLowCardinality(62)), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_18' in scope SELECT toDecimal256(toLowCardinality(toLowCardinality(t__fuzz_18, 1.)), toLowCardinality(62)), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS LAST, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 16. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 18. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 22. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 23. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 25. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 28. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 30. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 31. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 Fuzzing step 786 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) DESC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 788 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 SELECT toLowCardinality(toLowCardinality(1.)), toLowCardinality(62), k, a, b FROM ( SELECT number AS k, t__fuzz_0, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC, k ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(toLowCardinality(1.)), toLowCardinality(62), k, a, b FROM (SELECT number AS k, t__fuzz_0, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) ASC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_0' in scope SELECT number AS k, t__fuzz_0, toString(number) AS a FROM system.numbers LIMIT 256. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 790 out of 1000 SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(materialize(toLowCardinality(65537)), 62)), k, a, b FROM ( SELECT number AS k FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS LAST, k ASC Error on processing query 'SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(materialize(toLowCardinality(65537)), 62)), k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(materialize(toLowCardinality(65537)), 62)), k, a, b FROM (SELECT number AS k FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS LAST, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 791 out of 1000 SELECT toDecimal256(toLowCardinality(toLowCardinality(1.)), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS FIRST, k ASC Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 SELECT toLowCardinality(toLowCardinality(1.)), toLowCardinality(62), toNullable(toInt128(toInt128(65537))), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(1024) LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(toLowCardinality(1.)), toLowCardinality(62), toNullable(toInt128(toInt128(65537))), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE toLowCardinality(1024) LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 10. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 13. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 14. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 793 out of 1000 SELECT toDecimal256(toLowCardinality(1.), toLowCardinality(62)), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC, k ASC Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT toDecimal256(toLowCardinality(1.), 62), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 65537 ) USING (k) WHERE 2147483646 ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS LAST, k ASC NULLS FIRST Error on processing query 'SELECT toLowCardinality(1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT -9223372036854775807, 65537) USING (k) WHERE 2147483646 ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) ASC NULLS LAST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 796 out of 1000 SELECT toDecimal256(toLowCardinality(1.), 62), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT toDecimal256(toLowCardinality(1.), 62), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 797 out of 1000 SELECT toDecimal256(1., toDecimal256(toLowCardinality(toDecimal256(materialize(255), 1., 47)), 62), 62), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS FIRST Error on processing query 'SELECT toDecimal256(1., toDecimal256(toLowCardinality(toDecimal256(materialize(255), 1., 47)), 62), 62), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toDecimal256'. Expected 2 arguments, got 3 arguments: In scope SELECT toDecimal256(1., toDecimal256(toLowCardinality(toDecimal256(materialize(255), 1., 47)), 62), 62), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1024) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS FIRST, k ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::(anonymous namespace)::NameToDecimal256, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x0000000007324f61 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000731747b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 20. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 23. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 24. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 25. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 26. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 29. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 30. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 Fuzzing step 798 out of 1000 SELECT toDecimal256(toLowCardinality(1.), 62), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC NULLS FIRST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 65537 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS LAST, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers WHERE number LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS LAST, k ASC Error on processing query 'SELECT toLowCardinality(1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers WHERE number LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 1) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC NULLS LAST, k ASC': Received from localhost:9000. DB::Exception: Illegal type UInt64 of column __table2.number for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 11. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 13. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 14. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 15. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 801 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, -2147483649 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS LAST, k ASC NULLS LAST Error on processing query 'SELECT toLowCardinality(1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, -2147483649) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS LAST, materialize(toLowCardinality(16)) ASC, toNullable(toLowCardinality(1)) DESC, toNullable(-0.) DESC NULLS LAST, k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 802 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 256 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, toString(number) ASC, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k ASC Error on processing query 'SELECT toLowCardinality(1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, toString(number) ASC, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT toLowCardinality(1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, toString(number) ASC, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC, k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 11. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 12. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 15. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 16. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 18. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 21. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 23. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 24. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 25. ? @ 0x00007ffa70350ac3 26. ? @ 0x00007ffa703e2850 Fuzzing step 806 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT toNullable(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k DESC Error on processing query 'SELECT toLowCardinality(1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 0) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k DESC': Received from localhost:9000. DB::Exception: OFFSET expression must be constant with numeric type. Actual NULL. In scope SELECT materialize(65537), number AS k, toString(number) AS b FROM system.numbers LIMIT NULL, 0. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x00000000073d652b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a3cb 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039494 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x000000001106794e 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 809 out of 1000 SELECT toLowCardinality(30, 1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT toNullable(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) ASC NULLS LAST, k DESC Error on processing query 'SELECT toLowCardinality(30, 1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT toNullable(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) ASC NULLS LAST, k DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(30, 1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT toNullable(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) ASC NULLS LAST, k DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 810 out of 1000 SELECT toLowCardinality(1.), 62, k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT toNullable(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) PREWHERE 62 WHERE materialize(16) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) ASC NULLS LAST, k DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(1.), 62, k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT toNullable(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0) USING (k) PREWHERE 62 WHERE materialize(16) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC, toNullable(-0.) ASC NULLS LAST, k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Subquery SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a4656 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 811 out of 1000 SELECT toLowCardinality(1.), toLowCardinality(62), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT toNullable(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 SELECT 1., toLowCardinality(62), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT materialize(65537), toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS FIRST Error on processing query 'SELECT 1., toLowCardinality(62), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT materialize(65537), toString(number) AS b FROM system.numbers LIMIT 2147483647, 0) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS FIRST': Received from localhost:9000. DB::Exception: JOIN ANY FULL OUTER JOIN ... USING (k) using identifier 'k' cannot be resolved from right table expression. In scope SELECT 1., toLowCardinality(62), k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2) ANY FULL OUTER JOIN (SELECT materialize(65537), toString(number) AS b FROM system.numbers LIMIT 2147483647, 0) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC, toNullable(toLowCardinality(1)) ASC NULLS LAST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001106cd8b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011069213 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 813 out of 1000 SELECT toLowCardinality(1.), toLowCardinality(62), k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 2 ) ANY FULL OUTER JOIN ( SELECT toNullable(materialize(65537)), number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483647, 0 ) USING (k) ORDER BY toDecimal128(toNullable(1.), 30) ASC NULLS FIRST, materialize(toLowCardinality(16)) DESC NULLS LAST, toNullable(materialize(1)) DESC, toNullable(toLowCardinality(1)) ASC NULLS FIRST, toNullable(-0.) DESC NULLS FIRST, k DESC NULLS FIRST Current AST is too long, discarding it and using the original AST as a start Fuzzing step 814 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 815 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) GROUP BY toLowCardinality(1.), 10, materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))) ORDER BY k ASC Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) GROUP BY toLowCardinality(1.), 10, materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))) ORDER BY k ASC': Received from localhost:9000. DB::Exception: Positional argument number 10 is out of bounds. Expected in range [1, 3]. In scope SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10) USING (k) GROUP BY toLowCardinality(1.), 10, materialize(materialize(toLowCardinality(toInt128(65537)), materialize(65535))) ORDER BY k ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 816 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC Got boring AST Fuzzing step 817 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 819 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 820 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 821 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 823 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 5, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 824 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 10 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 825 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1.), toNullable(62), toLowCardinality(toInt128(65537)) LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1.), toNullable(62), toLowCardinality(toInt128(65537)) LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column system.numbers.number is not under aggregate function and not in GROUP BY keys. In query SELECT number AS k, toString(number) AS a FROM system.numbers GROUP BY toLowCardinality(1.), toNullable(62), toLowCardinality(toInt128(65537)) LIMIT 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 827 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 828 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 829 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 830 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS LAST Got boring AST Fuzzing step 833 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(t__fuzz_13, number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers WHERE materialize(toInt128(materialize(65537))) LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(t__fuzz_13, number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers WHERE materialize(toInt128(materialize(65537))) LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_13' in scope SELECT number AS k, toString(t__fuzz_13, number) AS a FROM system.numbers LIMIT 1048575. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 834 out of 1000 SELECT k, toNullable(0), a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 9223372036854775807 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, toNullable(0), a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 9223372036854775807) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.475231228 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 835 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM s. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 836 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 9223372036854775807 ) USING (k) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 9223372036854775807) USING (k) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: Timeout exceeded: elapsed 10.130998725 seconds, maximum: 10. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000010c0360b 4. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:0: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000010c02d1a 5. /build/contrib/llvm-project/libcxx/include/atomic:958: DB::PipelineExecutor::finalizeExecution() @ 0x0000000012d6e790 6. /build/src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x0000000012d6da24 7. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000012d7c0aa 8. /build/base/base/../base/wide_integer_impl.h:817: ThreadPoolImpl::ThreadFromThreadPool::worker() @ 0x000000000c706d2e 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15007]>, void (ThreadPoolImpl::ThreadFromThreadPool::*)(), ThreadPoolImpl::ThreadFromThreadPool*>>(void*) @ 0x000000000c70c192 10. ? @ 0x00007ffa70350ac3 11. ? @ 0x00007ffa703e2850 Fuzzing step 837 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT 1048575 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 839 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 841 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 842 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 843 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 844 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 845 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 846 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 847 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(toDecimal64(1., 12))) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, -9223372036854775807 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(toDecimal64(1., 12))) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, -9223372036854775807) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Decimal(18, 12): In scope SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(toDecimal64(1., 12))) LIMIT -9223372036854775808. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/DataTypes/DataTypeLowCardinality.cpp:0: DB::DataTypeLowCardinality::DataTypeLowCardinality(std::shared_ptr) @ 0x0000000010c4116c 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1460: std::shared_ptr std::allocate_shared[abi:v15007], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x000000000b7a1da3 6. /build/src/Functions/toLowCardinality.cpp:34: DB::(anonymous namespace)::FunctionToLowCardinality::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b7a1cb1 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 8. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 9. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 10. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 19. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 22. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 23. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 24. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 27. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 28. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb Fuzzing step 848 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 849 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 850 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 851 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 852 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 853 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 854 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 855 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 856 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 857 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 858 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 859 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 861 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 862 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 863 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 864 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 865 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 866 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 867 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 868 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 869 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 870 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 871 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 872 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 873 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 874 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 875 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 876 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 877 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 878 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 879 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 880 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 881 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 882 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 883 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 884 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 885 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 886 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 887 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 888 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 889 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 890 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT 3 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT 3) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage SystemNumbers (table system.numbers (debeac12-f509-45a5-abdd-eab062580e8d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/contrib/llvm-project/libcxx/include/__hash_table:1743: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001166cddd 8. /build/src/Planner/PlannerJoinTree.cpp:1777: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000116690bc 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011654590 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 11. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 12. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 891 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 892 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 893 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 894 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 895 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 897 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 898 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 899 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 900 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 901 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 902 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 903 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 905 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 906 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(materialize(toInt128(1)), number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(materialize(toInt128(1)), number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 907 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 908 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 909 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 910 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 911 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 913 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 914 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 915 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 916 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 917 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 918 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576 ) USING (k) PREWHERE materialize(toLowCardinality(toInt128(toInt256(65535)))) ORDER BY k ASC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 1048576) USING (k) PREWHERE materialize(toLowCardinality(toInt128(toInt256(65535)))) ORDER BY k ASC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 919 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 920 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 921 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 923 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 924 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 925 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k DESC NULLS LAST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k DESC NULLS LAST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 926 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 927 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 928 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 929 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 930 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 931 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 932 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 933 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 934 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 935 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 936 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 938 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 939 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 940 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 941 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 942 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 943 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 944 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 945 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 946 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 947 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 948 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 949 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 950 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 951 out of 1000 EXPLAIN SYNTAX SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 952 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 953 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 954 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 956 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 957 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 958 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 959 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 960 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 961 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 962 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 963 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 964 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 965 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 966 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 967 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 968 out of 1000 EXPLAIN ESTIMATE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN ESTIMATE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 969 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 970 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 971 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 972 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 973 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 974 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 975 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 976 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 977 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 978 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 979 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 980 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 981 out of 1000 SELECT k, a, b FROM ( SELECT number AS k, toString(toUInt128(toLowCardinality(62)), number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT 255 ) ANY FULL OUTER JOIN ( SELECT number AS k FROM system.numbers GROUP BY toDecimal32(1., 0) LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'SELECT k, a, b FROM (SELECT number AS k, toString(toUInt128(toLowCardinality(62)), number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT 255) ANY FULL OUTER JOIN (SELECT number AS k FROM system.numbers GROUP BY toDecimal32(1., 0) LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toString'. Expected 1 argument, got 2 arguments: In scope SELECT number AS k, toString(toUInt128(toLowCardinality(62)), number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT 255. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000729d838 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072912fb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 20. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 21. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 22. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 25. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 26. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 28. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 31. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 Fuzzing step 982 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 983 out of 1000 EXPLAIN QUERY TREE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 984 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 985 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 986 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 987 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 988 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 989 out of 1000 EXPLAIN PIPELINE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 990 out of 1000 EXPLAIN SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: LIMIT numeric constant expression is not representable as UInt64. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:800: DB::QueryAnalyzer::convertLimitOffsetExpression(std::shared_ptr&, String const&, DB::IdentifierResolveScope&) @ 0x000000001104a44e 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039362 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3783: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f00f 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x00000000110664c4 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011067909 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::IdentifierResolveScope&, DB::QueryExpressionsAliasVisitor&) @ 0x0000000011066567 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5441: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110386ae 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f7f9 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 991 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 992 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 993 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 994 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 995 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 996 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 997 out of 1000 EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 998 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTER JOIN (SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10) USING (k) ORDER BY k ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('k'): k, a, b FROM (SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808) ANY FULL OUTE. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 999 out of 1000 EXPLAIN AST SELECT k, a, b FROM ( SELECT number AS k, toString(number) AS a FROM system.numbers PREWHERE materialize(toLowCardinality(1.)) LIMIT -9223372036854775808 ) ANY FULL OUTER JOIN ( SELECT number AS k, toString(number) AS b FROM system.numbers LIMIT 2147483646, 10 ) USING (k) ORDER BY k ASC NULLS FIRST Got boring AST Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 2 out of 1000 SELECT 'Test unsigned integer values' PREWHERE 1048577 GROUP BY 255, t__fuzz_17, number, materialize(65535) Error on processing query 'SELECT 'Test unsigned integer values' PREWHERE 1048577 GROUP BY 255, t__fuzz_17, number, materialize(65535)': Received from localhost:9000. DB::Exception: Positional argument number 255 is out of bounds. Expected in range [1, 1]. In scope SELECT 'Test unsigned integer values' PREWHERE 1048577 GROUP BY 255, t__fuzz_17, number, materialize(65535). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 3 out of 1000 SELECT toNullable('Test unsigned integer values') Query succeeded, using this AST as a start Fuzzing step 4 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 5 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 6 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 7 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 8 out of 1000 SELECT toNullable('Test unsigned integer values') GROUP BY JSON, toLowCardinality(toNullable(toInt128(1048576))) Error on processing query 'SELECT toNullable('Test unsigned integer values') GROUP BY JSON, toLowCardinality(toNullable(toInt128(1048576)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 'JSON' in scope SELECT toNullable('Test unsigned integer values') GROUP BY JSON, toLowCardinality(toNullable(toInt128(1048576))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 9 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 10 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 11 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 12 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 13 out of 1000 SELECT toNullable('Test unsigned integer values') Got boring AST Fuzzing step 14 out of 1000 SELECT 'Test unsigned integer values' Query succeeded, using this AST as a start Fuzzing step 15 out of 1000 SELECT 'Test unsigned integer values' PREWHERE toString(number) Error on processing query 'SELECT 'Test unsigned integer values' PREWHERE toString(number)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT 'Test unsigned integer values' PREWHERE toString(number). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 16 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 17 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 18 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 19 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 20 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 21 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 22 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 23 out of 1000 SELECT 'Test unsigned integer values' Got boring AST Fuzzing step 24 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(65537) Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(65537) Got boring AST Fuzzing step 26 out of 1000 SELECT 'Test unsigned integer values' GROUP BY 65537 WITH ROLLUP Error on processing query 'SELECT 'Test unsigned integer values' GROUP BY 65537 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 'Test unsigned integer values' GROUP BY 65537 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 27 out of 1000 EXPLAIN PIPELINE compact = true SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(t__fuzz_14, 65537) Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(t__fuzz_14, 65537)': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 28 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(65537) Got boring AST Fuzzing step 29 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(65537) Got boring AST Fuzzing step 30 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(toNullable(65537)) Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(toNullable(65537)) Got boring AST Fuzzing step 32 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(toNullable(65537)) Got boring AST Fuzzing step 33 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(toNullable(65537)) Got boring AST Fuzzing step 34 out of 1000 EXPLAIN AST optimize = true SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(65537) Error on processing query 'EXPLAIN AST optimize = true SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(65537)': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "optimize" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 35 out of 1000 SELECT 'Test unsigned integer values' GROUP BY toLowCardinality(toNullable(65537)) Got boring AST Fuzzing step 36 out of 1000 SELECT toLowCardinality('Test unsigned integer values') GROUP BY toLowCardinality(toNullable(65537)) Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT toLowCardinality(toNullable('Test unsigned integer values')) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 SELECT toLowCardinality(toNullable('Test unsigned integer values')) GROUP BY toNullable(65537) Got boring AST Fuzzing step 39 out of 1000 SELECT toNullable('Test unsigned integer values') GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 40 out of 1000 SELECT toNullable('Test unsigned integer values') GROUP BY toNullable(65537) Got boring AST Fuzzing step 41 out of 1000 SELECT toNullable('Test unsigned integer values') GROUP BY toNullable(65537) Got boring AST Fuzzing step 42 out of 1000 SELECT t__fuzz_25, toNullable('Test unsigned integer values') GROUP BY toNullable(65537) Error on processing query 'SELECT t__fuzz_25, toNullable('Test unsigned integer values') GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT t__fuzz_25, toNullable('Test unsigned integer values') GROUP BY toNullable(65537). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 43 out of 1000 SELECT toNullable('Test unsigned integer values') GROUP BY toNullable(65537) Got boring AST Fuzzing step 44 out of 1000 SELECT toNullable('Test unsigned integer values') GROUP BY toNullable(65537) Got boring AST Fuzzing step 45 out of 1000 SELECT toNullable('Test unsigned integer values') GROUP BY toNullable(65537) Got boring AST Fuzzing step 46 out of 1000 SELECT toNullable('Test unsigned integer values') GROUP BY toNullable(65537) Got boring AST Fuzzing step 47 out of 1000 SELECT toNullable('Test unsigned integer values') WHERE materialize(toLowCardinality(1)) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 SELECT toNullable('Test unsigned integer values') WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 49 out of 1000 SELECT toNullable('Test unsigned integer values') WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 50 out of 1000 SELECT t__fuzz_8, 'Test unsigned integer values' WHERE materialize(1) GROUP BY toNullable(65537) Error on processing query 'SELECT t__fuzz_8, 'Test unsigned integer values' WHERE materialize(1) GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_8' in scope SELECT t__fuzz_8, 'Test unsigned integer values' WHERE materialize(1) GROUP BY toNullable(65537). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 51 out of 1000 SELECT toNullable('Test unsigned integer values') WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 52 out of 1000 SELECT toNullable('Test unsigned integer values') WHERE materialize(1) GROUP BY 65537 Error on processing query 'SELECT toNullable('Test unsigned integer values') WHERE materialize(1) GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable('Test unsigned integer values') WHERE materialize(1) GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 53 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 55 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 56 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 58 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 59 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 60 out of 1000 SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY 65537 Error on processing query 'SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 61 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 62 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 63 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 64 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 65 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 66 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 67 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 68 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 69 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 70 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 71 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 72 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 74 out of 1000 EXPLAIN AST SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 75 out of 1000 EXPLAIN AST SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 76 out of 1000 EXPLAIN AST SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 77 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('toNullable'): toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 78 out of 1000 EXPLAIN AST SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 79 out of 1000 EXPLAIN AST SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 80 out of 1000 EXPLAIN AST SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 81 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 83 out of 1000 EXPLAIN SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 84 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 86 out of 1000 SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 87 out of 1000 EXPLAIN QUERY TREE dump_passes = true SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Error on processing query 'EXPLAIN QUERY TREE dump_passes = true SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "dump_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 88 out of 1000 SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 89 out of 1000 SELECT toNullable(toFixedString('Test unsigned integer values', 28)) WHERE materialize(1) GROUP BY toNullable(65537) Got boring AST Fuzzing step 90 out of 1000 SELECT toFixedString('Test unsigned integer values', 28) WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 91 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(materialize(toNullable(65537)), 65537) Error on processing query 'SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(materialize(toNullable(65537)), 65537)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(materialize(toNullable(65537)), 65537). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 93 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 94 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 95 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 96 out of 1000 EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 'Test unsigned integer values', 28 GROUP BY toNullable(65537) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true, `graph=1` = true SELECT 'Test unsigned integer values', 28 GROUP BY toNullable(65537) WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 97 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 98 out of 1000 EXPLAIN PIPELINE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 EXPLAIN PIPELINE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 100 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 101 out of 1000 EXPLAIN QUERY TREE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 103 out of 1000 EXPLAIN QUERY TREE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 104 out of 1000 EXPLAIN SYNTAX SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 EXPLAIN SYNTAX SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 106 out of 1000 EXPLAIN SYNTAX SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 107 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 108 out of 1000 EXPLAIN ESTIMATE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 109 out of 1000 EXPLAIN ESTIMATE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 110 out of 1000 EXPLAIN ESTIMATE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 111 out of 1000 EXPLAIN QUERY TREE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 EXPLAIN QUERY TREE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 113 out of 1000 EXPLAIN SYNTAX SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 116 out of 1000 EXPLAIN SYNTAX SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 117 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 EXPLAIN SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 EXPLAIN SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 120 out of 1000 EXPLAIN SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 121 out of 1000 EXPLAIN SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 122 out of 1000 EXPLAIN PIPELINE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 EXPLAIN PIPELINE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 124 out of 1000 EXPLAIN PIPELINE SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 125 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 127 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 128 out of 1000 EXPLAIN AST SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 129 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 131 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(1) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 132 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 133 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 134 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 135 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 136 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 137 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 138 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 139 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 140 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 142 out of 1000 SELECT 'Test unsigned integer values', 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 143 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 145 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 146 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 147 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 148 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 149 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(toNullable(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(toNullable(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toFixedString('Test unsigned integer values', 28), 28 WHERE materialize(materialize(toNullable(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 150 out of 1000 EXPLAIN AST SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 EXPLAIN AST SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 152 out of 1000 EXPLAIN SYNTAX SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 153 out of 1000 EXPLAIN QUERY TREE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 EXPLAIN QUERY TREE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 155 out of 1000 EXPLAIN QUERY TREE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 156 out of 1000 EXPLAIN QUERY TREE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 157 out of 1000 EXPLAIN ESTIMATE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 EXPLAIN SYNTAX SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 159 out of 1000 EXPLAIN SYNTAX SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 160 out of 1000 EXPLAIN SYNTAX SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 161 out of 1000 EXPLAIN SYNTAX SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 162 out of 1000 EXPLAIN SYNTAX SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 163 out of 1000 EXPLAIN SYNTAX SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 164 out of 1000 EXPLAIN PIPELINE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 EXPLAIN ESTIMATE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 EXPLAIN ESTIMATE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 167 out of 1000 EXPLAIN ESTIMATE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 168 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toFixedString'): toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 169 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toFixedString'): toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 170 out of 1000 EXPLAIN PIPELINE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toFixedString'): toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 172 out of 1000 EXPLAIN ESTIMATE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('toFixedString'): toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 174 out of 1000 EXPLAIN ESTIMATE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 175 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('toFixedString'): toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 176 out of 1000 EXPLAIN ESTIMATE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 177 out of 1000 EXPLAIN ESTIMATE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 178 out of 1000 EXPLAIN QUERY TREE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 EXPLAIN PIPELINE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 180 out of 1000 EXPLAIN PIPELINE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 181 out of 1000 EXPLAIN PIPELINE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 182 out of 1000 EXPLAIN PIPELINE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 183 out of 1000 EXPLAIN SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN PIPELINE SELECT toFixedString('Test unsigned integer values', 28), materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 SELECT 'Test unsigned integer values', 28, materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 SELECT 'Test unsigned integer values', 28, materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 187 out of 1000 SELECT 'Test unsigned integer values', 28, materialize(28) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 188 out of 1000 SELECT 'Test unsigned integer values', 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 189 out of 1000 SELECT 'Test unsigned integer values', 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 190 out of 1000 SELECT 'Test unsigned integer values', 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 191 out of 1000 SELECT 'Test unsigned integer values', 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 192 out of 1000 SELECT 'Test unsigned integer values', 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 193 out of 1000 SELECT 'Test unsigned integer values', 28, 28 WHERE materialize(toLowCardinality(toNullable(1))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 SELECT 'Test unsigned integer values', 28, 28 WHERE materialize(toLowCardinality(toNullable(1))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 195 out of 1000 SELECT 'Test unsigned integer values', 28, 28 WHERE materialize(toLowCardinality(toNullable(1))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 196 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), 28, 28 WHERE materialize(toLowCardinality(toNullable(1))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 197 out of 1000 SELECT toInt256(1), toFixedString('Test unsigned integer values', 28), 28, 28 WHERE materialize(toLowCardinality(toUInt256(62), toNullable(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toInt256(1), toFixedString('Test unsigned integer values', 28), 28, 28 WHERE materialize(toLowCardinality(toUInt256(62), toNullable(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toInt256(1), toFixedString('Test unsigned integer values', 28), 28, 28 WHERE materialize(toLowCardinality(toUInt256(62), toNullable(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 198 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), 28, 28 WHERE materialize(toLowCardinality(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH CUBE WITH TOTALS Error on processing query 'SELECT toFixedString('Test unsigned integer values', 28), 28, 28 WHERE materialize(toLowCardinality(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 199 out of 1000 SELECT 'Test unsigned integer values', 28, 28, toUInt128(28) WHERE materialize(toNullable(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 SELECT 'Test unsigned integer values', 28, 28, toUInt128(28) WHERE materialize(toNullable(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 201 out of 1000 SELECT 'Test unsigned integer values', 28, 28, toUInt128(28) WHERE materialize(toNullable(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 202 out of 1000 SELECT 'Test unsigned integer values', 28, 28, toUInt128(28) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 203 out of 1000 SELECT 'Test unsigned integer values', 28, 28, toUInt128(28) WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, 28, toUInt128(28) WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 4]. In scope SELECT 'Test unsigned integer values', 28, 28, toUInt128(28) WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 204 out of 1000 SELECT 'Test unsigned integer values', 28, 28, toUInt128(toNullable(28)) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 205 out of 1000 SELECT 'Test unsigned integer values', 28, 28, toUInt128(toNullable(28)) WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, 28, toUInt128(toNullable(28)) WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 4]. In scope SELECT 'Test unsigned integer values', 28, 28, toUInt128(toNullable(28)) WHERE materialize(1) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 206 out of 1000 SELECT 'Test unsigned integer values', 28, 28, toUInt128(toNullable(28)) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 207 out of 1000 SELECT 'Test unsigned integer values', toLowCardinality(toNullable(28)), 28, toNullable(28) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 SELECT 'Test unsigned integer values', toLowCardinality(toNullable(28)), 28, toNullable(28) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 209 out of 1000 SELECT 'Test unsigned integer values', toLowCardinality(toNullable(28)), 28, toNullable(28) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 210 out of 1000 SELECT 'Test unsigned integer values', toLowCardinality(toNullable(28)), 28, toNullable(28) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', toLowCardinality(toNullable(28)), 28, toNullable(28) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 211 out of 1000 SELECT 'Test unsigned integer values', toNullable(28), 28, toNullable(28) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 SELECT 'Test unsigned integer values', toNullable(28), 28, toNullable(28) WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 213 out of 1000 EXPLAIN AST graph = true SELECT 'Test unsigned integer values', 28, 28, toNullable(28) WHERE materialize(t__fuzz_2, 1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN AST graph = true SELECT 'Test unsigned integer values', 28, 28, toNullable(28) WHERE materialize(t__fuzz_2, 1) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "graph" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 214 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 215 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 217 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 218 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 219 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 220 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 221 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 222 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(toLowCardinality(toUInt256(28))) WHERE materialize(toNullable(65535), 1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, 28, materialize(toLowCardinality(toUInt256(28))) WHERE materialize(toNullable(65535), 1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 'Test unsigned integer values', 28, 28, materialize(toLowCardinality(toUInt256(28))) WHERE materialize(toNullable(65535), 1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 223 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 PREWHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, 28, 28 PREWHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 224 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 225 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 226 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), 28 WHERE materialize(toLowCardinality(toNullable(7)), 1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, toUInt128(28), 28 WHERE materialize(toLowCardinality(toNullable(7)), 1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 'Test unsigned integer values', 28, toUInt128(28), 28 WHERE materialize(toLowCardinality(toNullable(7)), 1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 228 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 229 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), 28 WHERE materialize(1) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 230 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), 28 WHERE materialize(toLowCardinality(toNullable(1))) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 231 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), toNullable(28) GROUP BY GROUPING SETS ((materialize(toNullable(65537)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), toNullable(28) PREWHERE materialize(toNullable(1., 62), toInt128(65535)) GROUP BY GROUPING SETS ((materialize(toNullable(65537)))) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, toUInt128(28), toNullable(28) PREWHERE materialize(toNullable(1., 62), toInt128(65535)) GROUP BY GROUPING SETS ((materialize(toNullable(65537)))) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 'Test unsigned integer values', 28, toUInt128(28), toNullable(28) PREWHERE materialize(toNullable(1., 62), toInt128(65535)) GROUP BY GROUPING SETS ((materialize(toNullable(65537)))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 234 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), toNullable(28) GROUP BY GROUPING SETS ((materialize(toNullable(65537)))) WITH TOTALS Got boring AST Fuzzing step 235 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), toNullable(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), toNullable(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), toNullable(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 238 out of 1000 SELECT 'Test unsigned integer values', 28, toUInt128(28), materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 239 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 240 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(t__fuzz_44, 65537))) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(t__fuzz_44, 65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_44' in scope SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(t__fuzz_44, 65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106379e 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 241 out of 1000 SELECT toLowCardinality('Test unsigned integer values'), 28, 28, 28 GROUP BY GROUPING SETS ((toNullable(toNullable(toUInt256(76)), 65537))) WITH TOTALS Error on processing query 'SELECT toLowCardinality('Test unsigned integer values'), 28, 28, 28 GROUP BY GROUPING SETS ((toNullable(toNullable(toUInt256(76)), 65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality('Test unsigned integer values'), 28, 28, 28 GROUP BY GROUPING SETS ((toNullable(toNullable(toUInt256(76)), 65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106379e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 242 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 243 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 244 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 245 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 246 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 4]. In scope SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 247 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 248 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 249 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH CUBE WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 250 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 251 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 252 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 253 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 4]. In scope SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 254 out of 1000 SELECT 'Test unsigned integer values', 28, toLowCardinality(toUInt128(28)), materialize(28) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', 28, toLowCardinality(toUInt128(28)), materialize(28) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 255 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 256 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 257 out of 1000 SELECT 'Test unsigned integer values', 28, 28, materialize(toNullable(28)) GROUP BY GROUPING SETS ((toNullable(materialize(toLowCardinality(65537))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, materialize(toNullable(28)) GROUP BY GROUPING SETS ((toNullable(materialize(toLowCardinality(65537))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, materialize(toNullable(28)) GROUP BY GROUPING SETS ((materialize(toLowCardinality(65537)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 262 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 4]. In scope SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 263 out of 1000 SELECT toFixedString(toNullable(256), 'Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Error on processing query 'SELECT toFixedString(toNullable(256), 'Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toFixedString doesn't match: passed 3, should be 2: In scope SELECT toFixedString(toNullable(256), 'Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 264 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 265 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 266 out of 1000 SELECT toFixedString('Test unsigned integer values', t__fuzz_38, 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Error on processing query 'SELECT toFixedString('Test unsigned integer values', t__fuzz_38, 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_38' in scope SELECT toFixedString('Test unsigned integer values', t__fuzz_38, 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 267 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 268 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 269 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 270 out of 1000 SELECT toNullable(65537), toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(materialize(28)) GROUP BY GROUPING SETS ((65537)) WITH CUBE WITH TOTALS Error on processing query 'SELECT toNullable(65537), toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(materialize(28)) GROUP BY GROUPING SETS ((65537)) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 271 out of 1000 SELECT toFixedString('Test unsigned integer values', 28), materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 272 out of 1000 SELECT 'Test unsigned integer values', 28, materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 273 out of 1000 SELECT 'Test unsigned integer values', 28, materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 274 out of 1000 SELECT 'Test unsigned integer values', materialize(toUInt128(28)), materialize(28), toLowCardinality(28), 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', materialize(toUInt128(28)), materialize(28), toLowCardinality(28), 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 5]. In scope SELECT 'Test unsigned integer values', materialize(toUInt128(28)), materialize(28), toLowCardinality(28), 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 275 out of 1000 SELECT 'Test unsigned integer values', 28, materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 276 out of 1000 SELECT 'Test unsigned integer values', 28, materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 277 out of 1000 SELECT 'Test unsigned integer values', 28, materialize(28), 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 278 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 280 out of 1000 SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 282 out of 1000 SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 283 out of 1000 SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 284 out of 1000 SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 5]. In scope SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 285 out of 1000 SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 5]. In scope SELECT 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 286 out of 1000 SELECT toLowCardinality(65535), 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT toLowCardinality(65535), 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(65537))) WITH TOTALS Got boring AST Fuzzing step 288 out of 1000 SELECT toLowCardinality(65535), 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(65535), 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 6]. In scope SELECT toLowCardinality(65535), 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 289 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(toLowCardinality(toNullable(65537))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(toLowCardinality(toNullable(65537))))) WITH CUBE WITH TOTALS Error on processing query 'SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(toLowCardinality(toNullable(65537))))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 291 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(toLowCardinality(toNullable(65537))))) WITH TOTALS Got boring AST Fuzzing step 292 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY GROUPING SETS ((materialize(toLowCardinality(toNullable(65537))))) WITH TOTALS Got boring AST Fuzzing step 293 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(toLowCardinality(toNullable(65537))))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, toNullable(28) GROUP BY GROUPING SETS ((materialize(toLowCardinality(65537)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, toNullable(28) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, toNullable(28) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 297 out of 1000 SELECT 65535, 'Test unsigned integer values', toUInt256(28), 28, 28, toNullable(28) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 298 out of 1000 SELECT toNullable(65535), 'Test unsigned integer values', 28, 28, 28, toNullable(28) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, toNullable(28) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, toNullable(28) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 301 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, toNullable(28) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 302 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, toNullable(28) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 303 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 305 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 306 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 307 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 WHERE toNullable(toInt128(65537)) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Error on processing query 'SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 WHERE toNullable(toInt128(65537)) GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Illegal type Nullable(Int128) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 308 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 309 out of 1000 SELECT 65535, 'Test unsigned integer values', materialize(28), 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 SELECT toNullable(65535), 'Test unsigned integer values', materialize(28), 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 SELECT 65535, 'Test unsigned integer values', materialize(28), 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 SELECT 65535, 'Test unsigned integer values', materialize(28), 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 313 out of 1000 SELECT 65535, 'Test unsigned integer values', materialize(28), 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 314 out of 1000 SELECT 65535, 'Test unsigned integer values', materialize(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 65535, 'Test unsigned integer values', materialize(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 6]. In scope SELECT 65535, 'Test unsigned integer values', materialize(28), 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 315 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 316 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, toNullable(28), 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 318 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 319 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 320 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 321 out of 1000 SELECT 65535, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 322 out of 1000 SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 6]. In scope SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 324 out of 1000 SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, toLowCardinality(28), 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(toUInt256(materialize(62)), 65537))) WITH TOTALS Error on processing query 'SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(toUInt256(materialize(62)), 65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(toUInt256(materialize(62)), 65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106379e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 326 out of 1000 SELECT materialize(toNullable(65535)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT materialize(65535), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 328 out of 1000 SELECT materialize(65535), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 329 out of 1000 SELECT materialize(65535), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 330 out of 1000 SELECT materialize(65535), 'Test unsigned integer values', 28, 28, 28, 28 WHERE t__fuzz_4 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Error on processing query 'SELECT materialize(65535), 'Test unsigned integer values', 28, 28, 28, 28 WHERE t__fuzz_4 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_4' in scope SELECT materialize(65535), 'Test unsigned integer values', 28, 28, 28, 28 WHERE t__fuzz_4 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 331 out of 1000 SELECT materialize(65535), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Got boring AST Fuzzing step 332 out of 1000 SELECT materialize(65535), 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(toNullable(65537)))) Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(toNullable(65537)))) Got boring AST Fuzzing step 335 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(toNullable(65537)))) Got boring AST Fuzzing step 336 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 PREWHERE materialize(toLowCardinality(65537)) GROUP BY GROUPING SETS ((toLowCardinality(65537))) Error on processing query 'SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 PREWHERE materialize(toLowCardinality(65537)) GROUP BY GROUPING SETS ((toLowCardinality(65537)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 337 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 339 out of 1000 SELECT 65535, 65537, materialize(toLowCardinality(toNullable('Test unsigned integer values'))), 28, 28, 28, 28 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 SELECT 65535, 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, 28 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 SELECT 65535, 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, 28 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 342 out of 1000 SELECT 65535, 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 SELECT 65535, toNullable(materialize(toLowCardinality(65537))), 65537, materialize('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, toNullable(materialize(toLowCardinality(65537))), 65537, materialize('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 8]. In scope SELECT 65535, toNullable(materialize(toLowCardinality(65537))), 65537, materialize('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 344 out of 1000 EXPLAIN PIPELINE header = true, compact = true SELECT 65535, 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN PIPELINE header = true, compact = true SELECT 65535, 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 345 out of 1000 SELECT 65535, 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 346 out of 1000 SELECT toInt256(65535), 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 SELECT toInt256(65535), 65537, materialize(toNullable('Test unsigned integer values')), materialize(toUInt256(28)), 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT toInt256(65535), 65537, materialize(toNullable('Test unsigned integer values')), materialize(toUInt256(28)), 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 7]. In scope SELECT toInt256(65535), 65537, materialize(toNullable('Test unsigned integer values')), materialize(toUInt256(28)), 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 348 out of 1000 SELECT toInt256(65535), 65537, materialize(toNullable(toLowCardinality('Test unsigned integer values'))), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT toInt256(65535), 65537, materialize(toNullable(toLowCardinality('Test unsigned integer values'))), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 7]. In scope SELECT toInt256(65535), 65537, materialize(toNullable(toLowCardinality('Test unsigned integer values'))), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 349 out of 1000 SELECT t, 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'SELECT t, 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT t, 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 350 out of 1000 SELECT 65535, 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 SELECT 65535, 65537, materialize(toNullable('Test unsigned integer values')), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 352 out of 1000 EXPLAIN AST SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 EXPLAIN AST SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 354 out of 1000 EXPLAIN SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 EXPLAIN SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 356 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 358 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 359 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 360 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 361 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 362 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('65535'): 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 363 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 365 out of 1000 SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) PREWHERE materialize(1048576) GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) PREWHERE materialize(1048576) GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 366 out of 1000 SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY 65537 Error on processing query 'EXPLAIN SYNTAX SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument out of bounds: 65537 (expected in range [1, 7]: While processing SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY 65537: While processing SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(28) GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x00000000070b4c4b 4. /build/src/Interpreters/replaceForPositionalArguments.cpp:0: DB::replaceForPositionalArguments(std::shared_ptr&, DB::ASTSelectQuery const*, DB::ASTSelectQuery::Expression) @ 0x000000001198ce18 5. /build/src/Interpreters/TreeRewriter.cpp:285: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, false, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001188eee0 6. /build/src/Core/SettingsFields.h:44: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001188a0bf 7. /build/src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x00000000118848e6 8. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011614f75 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 10. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 13. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 14. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 17. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 18. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 368 out of 1000 SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 369 out of 1000 SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY toNullable(toLowCardinality(1), 65537) Error on processing query 'SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY toNullable(toLowCardinality(1), 65537)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65535, 65537, toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY toNullable(toLowCardinality(1), 65537). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 370 out of 1000 SELECT 65535, toLowCardinality(65537), toNullable('Test unsigned integer values'), 28, 28, 28, materialize(materialize(28)) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT 65535, toLowCardinality(65537), 'Test unsigned integer values', 28, 28, 28, materialize(28) GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, materialize(28) WHERE toUInt128(62) WITH TOTALS Error on processing query 'SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, materialize(28) WHERE toUInt128(62) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 373 out of 1000 SELECT 65535, toLowCardinality(65537), 'Test unsigned integer values', 28, 28, 28, materialize(28) GROUP BY toNullable(65537) Got boring AST Fuzzing step 374 out of 1000 SELECT 65535, toLowCardinality(65537), 'Test unsigned integer values', 28, 28, 28, materialize(28) GROUP BY toNullable(65537) Got boring AST Fuzzing step 375 out of 1000 SELECT 65535, toLowCardinality(65537), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 SELECT toNullable(65535), toLowCardinality(65537), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT toNullable(65535), toLowCardinality(toInt256(65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT toNullable(65535), toLowCardinality(toInt256(t__fuzz_1, 65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Error on processing query 'SELECT toNullable(65535), toLowCardinality(toInt256(t__fuzz_1, 65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_1' in scope SELECT toNullable(65535), toLowCardinality(toInt256(t__fuzz_1, 65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 379 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(65535), toLowCardinality(t__fuzz_20, toInt256(65537)), 'Test unsigned integer values', 28, toLowCardinality(28), 28, 28 GROUP BY toNullable(65537) Error on processing query 'EXPLAIN QUERY TREE SELECT toNullable(65535), toLowCardinality(t__fuzz_20, toInt256(65537)), 'Test unsigned integer values', 28, toLowCardinality(28), 28, 28 GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_20' in scope SELECT toNullable(65535), toLowCardinality(t__fuzz_20, toInt256(65537)), 'Test unsigned integer values', 28, toLowCardinality(28), 28, 28 GROUP BY toNullable(65537). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 15. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 16. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 380 out of 1000 SELECT 65535, toLowCardinality(toInt256(65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 SELECT 65535, toLowCardinality(toInt256(65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Got boring AST Fuzzing step 382 out of 1000 SELECT 65535, toLowCardinality(toInt256(65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Got boring AST Fuzzing step 383 out of 1000 SELECT 65535, toLowCardinality(toInt256(65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY 65537 Error on processing query 'SELECT 65535, toLowCardinality(toInt256(65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 7]. In scope SELECT 65535, toLowCardinality(toInt256(65537)), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 384 out of 1000 SELECT 65535, toLowCardinality(toInt256(65537)), toLowCardinality(toNullable('Test unsigned integer values')), 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 SELECT 65535, toLowCardinality(toInt256(65537)), toLowCardinality(toNullable('Test unsigned integer values')), 28, 28, 28, 28 GROUP BY toNullable(65537) Got boring AST Fuzzing step 386 out of 1000 SELECT 65535, toInt256(65537), toLowCardinality(toNullable('Test unsigned integer values')), 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 387 out of 1000 SELECT 65535, toInt256(65537), toNullable('Test unsigned integer values'), 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 SELECT toInt256(65537), toNullable('Test unsigned integer values'), 28, 28, 28, 28 GROUP BY 65537 Error on processing query 'SELECT toInt256(65537), toNullable('Test unsigned integer values'), 28, 28, 28, 28 GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 6]. In scope SELECT toInt256(65537), toNullable('Test unsigned integer values'), 28, 28, 28, 28 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 389 out of 1000 SELECT 65535, toInt256(toInt128(65537)), toNullable('Test unsigned integer values'), 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 SELECT 65535, toInt256(toInt128(65537)), toNullable('Test unsigned integer values'), 28, 28, 28, 28 GROUP BY toNullable(65537) Got boring AST Fuzzing step 391 out of 1000 SELECT 65535, toInt128(65537), toNullable('Test unsigned integer values'), 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 392 out of 1000 SELECT 65535, toInt128(65537), 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 SELECT 65535, toInt128(65537), 'Test unsigned integer values', 28, 28, 28, 28 WHERE toUInt128(28) GROUP BY toNullable(65537) Error on processing query 'SELECT 65535, toInt128(65537), 'Test unsigned integer values', 28, 28, 28, 28 WHERE toUInt128(28) GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 394 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', toNullable(28), 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 395 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, materialize(28), 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY 65537 Error on processing query 'EXPLAIN QUERY TREE SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 7]. In scope SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001158c4d4 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581982 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 398 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', toNullable(toUInt256(28)), 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', toNullable(toUInt256(28)), 28, 28, 28 GROUP BY 65537 Error on processing query 'SELECT 65535, 65537, 'Test unsigned integer values', toNullable(toUInt256(28)), 28, 28, 28 GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 7]. In scope SELECT 65535, 65537, 'Test unsigned integer values', toNullable(toUInt256(28)), 28, 28, 28 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 401 out of 1000 SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toNullable(toUInt256(28)), 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 402 out of 1000 SELECT t__fuzz_14, materialize(toLowCardinality(toInt256(65535))), 65537, toNullable('Test unsigned integer values'), toNullable(toUInt256(28)), 28, 28, 28 GROUP BY toNullable(65537) Error on processing query 'SELECT t__fuzz_14, materialize(toLowCardinality(toInt256(65535))), 65537, toNullable('Test unsigned integer values'), toNullable(toUInt256(28)), 28, 28, 28 GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_14' in scope SELECT t__fuzz_14, materialize(toLowCardinality(toInt256(65535))), 65537, toNullable('Test unsigned integer values'), toNullable(toUInt256(28)), 28, 28, 28 GROUP BY toNullable(65537). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 403 out of 1000 SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY 65537 Error on processing query 'SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 7]. In scope SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toUInt256(28), 28, 28, 28 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 404 out of 1000 SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toNullable(toUInt256(28)), 28, 28, 28 GROUP BY toNullable(65537) Got boring AST Fuzzing step 405 out of 1000 SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toNullable(28), 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 406 out of 1000 SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toNullable(28), 28, materialize(28), 28 GROUP BY 65537 Error on processing query 'SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toNullable(28), 28, materialize(28), 28 GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 7]. In scope SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toNullable(28), 28, materialize(28), 28 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 407 out of 1000 EXPLAIN json = true SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toNullable(28), 28, 28, 28 GROUP BY toNullable(65537) Error on processing query 'EXPLAIN json = true SELECT materialize(toLowCardinality(toInt256(65535))), 65537, 'Test unsigned integer values', toNullable(28), 28, 28, 28 GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "json" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 408 out of 1000 SELECT materialize(toLowCardinality(65535)), 65537, 'Test unsigned integer values', toNullable(28), 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', toNullable(28), 28, 28, 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', toNullable(28), 28, toLowCardinality(toUInt128(28)), 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', toNullable(28), 28, toLowCardinality(toUInt128(28)), 28 GROUP BY 65537 Error on processing query 'SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', toNullable(28), 28, toLowCardinality(toUInt128(28)), 28 GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 7]. In scope SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', toNullable(28), 28, toLowCardinality(toUInt128(28)), 28 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 412 out of 1000 SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', toNullable(28), 28, toLowCardinality(toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), 28), 28 GROUP BY 65537 Error on processing query 'SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', toNullable(28), 28, toLowCardinality(toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), 28), 28 GROUP BY 65537': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', toNullable(28), 28, toLowCardinality(toLowCardinality(toNullable(toLowCardinality(toNullable(65537)))), 28), 28 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 413 out of 1000 SELECT toLowCardinality(65535), 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(toUInt128(28)), 28 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(toUInt128(28)), 28 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(toUInt128(28)), 28 GROUP BY GROUPING SETS ((toNullable(toLowCardinality(65537)))) Query succeeded, using this AST as a start Fuzzing step 416 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(toUInt128(28)), 28 GROUP BY GROUPING SETS ((toNullable(toLowCardinality(65537)))) Got boring AST Fuzzing step 417 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(toUInt128(28)), 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(28), 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(28), 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Got boring AST Fuzzing step 420 out of 1000 SELECT 65535, 65537, toNullable(toLowCardinality(65537)), 'Test unsigned integer values', 28, 28, toLowCardinality(28), 28 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537, toNullable(toLowCardinality(65537)), 'Test unsigned integer values', 28, 28, toLowCardinality(28), 28 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 8]. In scope SELECT 65535, 65537, toNullable(toLowCardinality(65537)), 'Test unsigned integer values', 28, 28, toLowCardinality(28), 28 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 421 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(28), 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Got boring AST Fuzzing step 422 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, toLowCardinality(28), 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Got boring AST Fuzzing step 423 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Got boring AST Fuzzing step 425 out of 1000 SELECT 65535, 65537, 'Test unsigned integer values', 28, 28, 28, 28 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Got boring AST Fuzzing step 426 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Query succeeded, using this AST as a start Fuzzing step 427 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Got boring AST Fuzzing step 428 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toLowCardinality(65537))) Got boring AST Fuzzing step 429 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toLowCardinality(toNullable(65537)))) Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT 65535, toString(number), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'SELECT 65535, toString(number), 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT 65535, toString(number), 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 432 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 433 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 434 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 435 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 436 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 437 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) WITH CUBE Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) WITH CUBE': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 438 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 439 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toLowCardinality(toNullable(1)), 65537))) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toLowCardinality(toNullable(1)), 65537)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toLowCardinality(toNullable(1)), 65537))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106379e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 440 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 441 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 442 out of 1000 SELECT 65535, toInt128(65537) GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, toInt128(65537) GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, toInt128(65537) GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 443 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 444 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 445 out of 1000 SELECT toLowCardinality(65535), 65537 GROUP BY GROUPING SETS ((65537)) WITH ROLLUP Error on processing query 'SELECT toLowCardinality(65535), 65537 GROUP BY GROUPING SETS ((65537)) WITH ROLLUP': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 446 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 447 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 448 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 449 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 450 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 451 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 452 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 453 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 454 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 455 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 456 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 457 out of 1000 SELECT 65535, t__fuzz_33, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'SELECT 65535, t__fuzz_33, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_33' in scope SELECT 65535, t__fuzz_33, 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 458 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 459 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 460 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 461 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 462 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(materialize(toLowCardinality(65537)), 65537))) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(materialize(toLowCardinality(65537)), 65537)))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(materialize(toLowCardinality(65537)), 65537))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106379e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 463 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 464 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 465 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 466 out of 1000 EXPLAIN PIPELINE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 EXPLAIN PIPELINE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 468 out of 1000 EXPLAIN PIPELINE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 469 out of 1000 EXPLAIN PIPELINE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 470 out of 1000 EXPLAIN PIPELINE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 471 out of 1000 EXPLAIN PIPELINE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 472 out of 1000 EXPLAIN PIPELINE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 473 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65535'): 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 474 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('65535'): 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 476 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 477 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 478 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 479 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65535'): 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 480 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 482 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 483 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 485 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 486 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 487 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 489 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 EXPLAIN ESTIMATE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 494 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 496 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 497 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 498 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 499 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 500 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 502 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 503 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 504 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 505 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 506 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 507 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 508 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('65535'): 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 509 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 512 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65535'): 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 513 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 514 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 515 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 516 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 517 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 519 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 522 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 523 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 524 out of 1000 EXPLAIN SYNTAX SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 525 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 526 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 527 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 528 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 529 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 530 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 531 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 532 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 533 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 534 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 535 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 536 out of 1000 EXPLAIN ESTIMATE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 539 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 540 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 541 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 542 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('65535'): 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 543 out of 1000 EXPLAIN ESTIMATE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 544 out of 1000 EXPLAIN QUERY TREE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 EXPLAIN ESTIMATE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65535'): 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 549 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 550 out of 1000 EXPLAIN AST SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 551 out of 1000 EXPLAIN SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 554 out of 1000 EXPLAIN indexes = true, json = true SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN indexes = true, json = true SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "indexes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 555 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 556 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toNullable(65537)))) Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toNullable(65537)))) Got boring AST Fuzzing step 558 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toNullable(65537)))) Got boring AST Fuzzing step 559 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toNullable(materialize(1)), toNullable(65537)))) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toNullable(materialize(1)), toNullable(65537))))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(toNullable(materialize(1)), toNullable(65537)))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106379e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 560 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 562 out of 1000 EXPLAIN QUERY TREE dump_ast = true SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN QUERY TREE dump_ast = true SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "dump_ast" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 563 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 564 out of 1000 SELECT 65535, materialize(65537) GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 EXPLAIN AST graph = true SELECT 65535, materialize(65537) GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN AST graph = true SELECT 65535, materialize(65537) GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "graph" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x00000000115825b7 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 566 out of 1000 SELECT 65535, materialize(65537) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 567 out of 1000 SELECT 65535, materialize(65537) GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 568 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 570 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 571 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH ROLLUP Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH ROLLUP': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 572 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 573 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 574 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 575 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 576 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 577 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 578 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 579 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 580 out of 1000 SELECT 65535, 65537 PREWHERE materialize(toInt128(1048576)) GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'SELECT 65535, 65537 PREWHERE materialize(toInt128(1048576)) GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 581 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 583 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 584 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 585 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 586 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH ROLLUP Error on processing query 'SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH ROLLUP': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 587 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 588 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 589 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 590 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 591 out of 1000 SELECT materialize(toNullable(65535)), 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'SELECT materialize(toNullable(65535)), 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toNullable(65535)), 65537 GROUP BY GROUPING SETS ((65537)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 592 out of 1000 SELECT materialize(65535), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 593 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT 65535, 65537 PREWHERE t__fuzz_13 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'SELECT 65535, 65537 PREWHERE t__fuzz_13 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT 65535, 65537 PREWHERE t__fuzz_13 GROUP BY GROUPING SETS ((toNullable(65537))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 595 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537)) Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT 65535, 65537 GROUP BY GROUPING SETS ((65537))': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "run_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 596 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 597 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 598 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) WITH ROLLUP Error on processing query 'SELECT 65535, 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) WITH ROLLUP': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 600 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) Got boring AST Fuzzing step 602 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) Got boring AST Fuzzing step 603 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) Got boring AST Fuzzing step 604 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 606 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 607 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 608 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 609 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537 GROUP BY GROUPING SETS ((toNullable(65537)))': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65537'): 65537 GROUP BY GROUPING SETS ((toNullable(65537))). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 610 out of 1000 SELECT 65537 GROUP BY GROUPING SETS ((toNullable(65537))) Got boring AST Fuzzing step 611 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 613 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 614 out of 1000 SELECT 65537 WITH TOTALS Error on processing query 'SELECT 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 615 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 616 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 618 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537 GROUP BY toNullable(65537) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537 GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65537'): 65537 GROUP BY toNullable(65537). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 620 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 621 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 622 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 624 out of 1000 EXPLAIN AST SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 EXPLAIN AST SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 626 out of 1000 EXPLAIN AST SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 627 out of 1000 EXPLAIN QUERY TREE SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537 GROUP BY toNullable(65537) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537 GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('65537'): 65537 GROUP BY toNullable(65537). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 629 out of 1000 EXPLAIN QUERY TREE SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 630 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537 GROUP BY toNullable(65537) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537 GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65537'): 65537 GROUP BY toNullable(65537). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 631 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 633 out of 1000 EXPLAIN AST SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 EXPLAIN AST SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 635 out of 1000 EXPLAIN AST SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 636 out of 1000 EXPLAIN AST SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 637 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 639 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537 GROUP BY toNullable(65537) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537 GROUP BY toNullable(65537)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65537'): 65537 GROUP BY toNullable(65537). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 640 out of 1000 EXPLAIN ESTIMATE SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 EXPLAIN PIPELINE SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 EXPLAIN ESTIMATE SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 EXPLAIN ESTIMATE SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 644 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 646 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 647 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 648 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 649 out of 1000 SELECT 65537 GROUP BY 65537 Error on processing query 'SELECT 65537 GROUP BY 65537': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 650 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 651 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 652 out of 1000 SELECT 65537 WITH TOTALS Error on processing query 'SELECT 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 653 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 654 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 657 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 658 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 659 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 660 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 661 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 662 out of 1000 SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 663 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 664 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 665 out of 1000 SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 666 out of 1000 SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 667 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 SELECT 65537 PREWHERE materialize(toInt128(toInt256(65535))) GROUP BY 65537 WITH ROLLUP Error on processing query 'SELECT 65537 PREWHERE materialize(toInt128(toInt256(65535))) GROUP BY 65537 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 PREWHERE materialize(toInt128(toInt256(65535))) GROUP BY 65537 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 669 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH ROLLUP Got boring AST Fuzzing step 670 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Query succeeded, using this AST as a start Fuzzing step 671 out of 1000 SELECT 65537 GROUP BY toNullable(65537) Got boring AST Fuzzing step 672 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 SELECT 65537 GROUP BY 65537 WITH CUBE Error on processing query 'SELECT 65537 GROUP BY 65537 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 674 out of 1000 SELECT 65537 GROUP BY 65537 WITH CUBE Error on processing query 'SELECT 65537 GROUP BY 65537 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 675 out of 1000 SELECT 65537 GROUP BY 65537 WITH CUBE Error on processing query 'SELECT 65537 GROUP BY 65537 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 676 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 677 out of 1000 SELECT 65537 WITH TOTALS Error on processing query 'SELECT 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 678 out of 1000 SELECT 65537 GROUP BY toNullable(toLowCardinality(toNullable(65537))) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 SELECT 65537 GROUP BY toNullable(toLowCardinality(toNullable(65537))) WITH CUBE Got boring AST Fuzzing step 680 out of 1000 SELECT 65537 GROUP BY toLowCardinality(toNullable(65537)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 SELECT 65537 GROUP BY toLowCardinality(toNullable(65537)) WITH CUBE Got boring AST Fuzzing step 682 out of 1000 SELECT 65537 GROUP BY toLowCardinality(a, toNullable(65537)) WITH CUBE Error on processing query 'SELECT 65537 GROUP BY toLowCardinality(a, toNullable(65537)) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT 65537 GROUP BY toLowCardinality(a, toNullable(65537)) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 683 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 684 out of 1000 SELECT 65537 GROUP BY toNullable(toLowCardinality(65537)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 SELECT 65537 GROUP BY toNullable(toLowCardinality(65537)) WITH CUBE Got boring AST Fuzzing step 686 out of 1000 SELECT 65537 GROUP BY toNullable(toLowCardinality(65537)) WITH CUBE Got boring AST Fuzzing step 687 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 688 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 689 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 690 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 691 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 692 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 693 out of 1000 SELECT 65537 GROUP BY 65537 WITH CUBE Error on processing query 'SELECT 65537 GROUP BY 65537 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 694 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 695 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 696 out of 1000 SELECT 65537 PREWHERE 'Test unsigned integer values' GROUP BY toNullable(65537) WITH CUBE Error on processing query 'SELECT 65537 PREWHERE 'Test unsigned integer values' GROUP BY toNullable(65537) WITH CUBE': Received from localhost:9000. DB::Exception: Invalid type for filter in PREWHERE: String. In query SELECT 65537 PREWHERE 'Test unsigned integer values' GROUP BY toNullable(65537) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x00000000110887ad 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 697 out of 1000 SELECT 65537 WHERE t__fuzz_3 GROUP BY toNullable(65537) WITH CUBE Error on processing query 'SELECT 65537 WHERE t__fuzz_3 GROUP BY toNullable(65537) WITH CUBE': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_3' in scope SELECT 65537 WHERE t__fuzz_3 GROUP BY toNullable(65537) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 698 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 699 out of 1000 SELECT 65537 GROUP BY toNullable(toNullable(65537)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 SELECT 65537 GROUP BY toNullable(toNullable(65537)) WITH CUBE Got boring AST Fuzzing step 701 out of 1000 SELECT 65537 GROUP BY toNullable(toUInt256(62), toNullable(65537)) WITH CUBE Error on processing query 'SELECT 65537 GROUP BY toNullable(toUInt256(62), toNullable(65537)) WITH CUBE': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65537 GROUP BY toNullable(toUInt256(62), toNullable(65537)) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 702 out of 1000 SELECT 65537 GROUP BY toNullable(toNullable(65537)) WITH CUBE Got boring AST Fuzzing step 703 out of 1000 SELECT 65537 GROUP BY toNullable(toNullable(65537)) WITH CUBE Got boring AST Fuzzing step 704 out of 1000 SELECT 65537 GROUP BY toNullable(toNullable(toNullable(1.), 65537)) WITH CUBE Error on processing query 'SELECT 65537 GROUP BY toNullable(toNullable(toNullable(1.), 65537)) WITH CUBE': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65537 GROUP BY toNullable(toNullable(toNullable(1.), 65537)) WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 705 out of 1000 SELECT 65537 WITH TOTALS Error on processing query 'SELECT 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 706 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 707 out of 1000 SELECT 65537 GROUP BY 65537 WITH CUBE Error on processing query 'SELECT 65537 GROUP BY 65537 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 708 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 709 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 710 out of 1000 SELECT 65537 GROUP BY 65537 WITH CUBE Error on processing query 'SELECT 65537 GROUP BY 65537 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 711 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 712 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 713 out of 1000 EXPLAIN PIPELINE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 EXPLAIN PIPELINE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 715 out of 1000 EXPLAIN PIPELINE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 716 out of 1000 EXPLAIN PIPELINE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 717 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE': Received from localhost:9000. DB::Exception: Syntax error: failed at position 38 ('65537'): 65537 GROUP BY toNullable(65537) WITH CUBE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 718 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 720 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 721 out of 1000 EXPLAIN PIPELINE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 722 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 724 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 725 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 726 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 727 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 728 out of 1000 EXPLAIN SYNTAX SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 729 out of 1000 EXPLAIN ESTIMATE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 731 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 732 out of 1000 EXPLAIN SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Got boring AST Fuzzing step 733 out of 1000 EXPLAIN PIPELINE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 EXPLAIN ESTIMATE SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 735 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 SELECT 65537 GROUP BY 65537 WITH CUBE Error on processing query 'SELECT 65537 GROUP BY 65537 WITH CUBE': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 737 out of 1000 SELECT 65537 GROUP BY toNullable(materialize(65537)) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 SELECT 65537 GROUP BY toNullable(materialize(65537)) WITH CUBE Got boring AST Fuzzing step 739 out of 1000 SELECT 65537 GROUP BY toNullable(materialize(65537)) WITH CUBE Got boring AST Fuzzing step 740 out of 1000 SELECT 65537 GROUP BY toNullable(materialize(toNullable(toInt128(65537)))) WITH CUBE Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 SELECT 65537 GROUP BY toNullable(materialize(toNullable(toInt128(65537)))) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 65537 WITH TOTALS Error on processing query 'SELECT 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 743 out of 1000 SELECT 65537 GROUP BY toNullable(materialize(toNullable(toInt128(65537)))) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 744 out of 1000 SELECT 65537 GROUP BY toNullable(materialize(toNullable(toInt128(65537)))) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 745 out of 1000 SELECT 65537 GROUP BY materialize(toNullable(toInt128(65537))) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT 65537 WITH TOTALS Error on processing query 'SELECT 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 747 out of 1000 SELECT materialize(65537) WHERE toLowCardinality(2147483646) GROUP BY materialize(toNullable(toInt128(65537))) WITH CUBE WITH TOTALS Error on processing query 'SELECT materialize(65537) WHERE toLowCardinality(2147483646) GROUP BY materialize(toNullable(toInt128(65537))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 748 out of 1000 SELECT 65537 GROUP BY materialize(toNullable(toInt128(65537))) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 749 out of 1000 SELECT 65537 GROUP BY materialize(toNullable(toInt128(65537))) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 750 out of 1000 SELECT 65537 GROUP BY toNullable(toInt128(65537)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT 65537 GROUP BY toNullable(toInt128(65537)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 752 out of 1000 SELECT 65537 GROUP BY toNullable(toInt128(65537)) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 753 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 754 out of 1000 SELECT 65537 GROUP BY 65537 WITH CUBE WITH TOTALS Error on processing query 'SELECT 65537 GROUP BY 65537 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 755 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 756 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 757 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 758 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 759 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 760 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 761 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 762 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 763 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 764 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 765 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 766 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 767 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 768 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 769 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 770 out of 1000 EXPLAIN PIPELINE header = true SELECT 65537 GROUP BY 65537 WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true SELECT 65537 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 771 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 772 out of 1000 SELECT 65537 GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT 65537 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 773 out of 1000 SELECT 65537 GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT 65537 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 774 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 775 out of 1000 SELECT 65537 GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT 65537 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 65537 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 776 out of 1000 SELECT 65537 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 777 out of 1000 SELECT toNullable(toLowCardinality(toInt128(2147483646))), 65537 GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 778 out of 1000 SELECT toNullable(toLowCardinality(toInt128(2147483646))), 65537 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 779 out of 1000 SELECT toNullable(toLowCardinality(2147483646)), 65537 GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT toNullable(toLowCardinality(2147483646)), 65537 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(toLowCardinality(2147483646)), 65537 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 780 out of 1000 SELECT toNullable(toLowCardinality(toInt128(2147483646))), 65537 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 781 out of 1000 SELECT toLowCardinality(toInt128(2147483646)), 65537 GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT toLowCardinality(toInt128(2147483646)), 65537 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(toInt128(2147483646)), 65537 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 782 out of 1000 SELECT toNullable(toLowCardinality(toInt128(2147483646))), 65537 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 783 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 WITH TOTALS Error on processing query 'SELECT toNullable(toInt128(2147483646)), 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 786 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) WITH TOTALS Got boring AST Fuzzing step 787 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(materialize(65537)))) WITH TOTALS Got boring AST Fuzzing step 788 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 790 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 791 out of 1000 SELECT toNullable(toInt128(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 792 out of 1000 SELECT toNullable(toInt128(materialize(toLowCardinality(toNullable(2147483646))))), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 793 out of 1000 SELECT toNullable(toInt128(toLowCardinality(1024), materialize(toLowCardinality(2147483646)))), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'SELECT toNullable(toInt128(toLowCardinality(1024), materialize(toLowCardinality(2147483646)))), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT toNullable(toInt128(toLowCardinality(1024), materialize(toLowCardinality(2147483646)))), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071b92db 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 794 out of 1000 SELECT toNullable(materialize(toLowCardinality(toNullable(2147483646)))), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT materialize(toLowCardinality(toNullable(2147483646))), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 SELECT materialize(toLowCardinality(toNullable(2147483646))), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 797 out of 1000 SELECT materialize(toLowCardinality(toNullable(2147483646))), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 798 out of 1000 SELECT materialize(toLowCardinality(toNullable(2147483646))), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT materialize(toLowCardinality(toNullable(2147483646))), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT materialize(toLowCardinality(toNullable(2147483646))), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 799 out of 1000 SELECT toLowCardinality(toNullable(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT toLowCardinality(toNullable(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 801 out of 1000 SELECT toLowCardinality(toNullable(2147483646)), materialize(65537) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(toNullable(2147483646)), materialize(65537) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(toNullable(2147483646)), materialize(65537) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 802 out of 1000 SELECT toLowCardinality(toNullable(2147483646)), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(toNullable(2147483646)), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(toNullable(2147483646)), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 803 out of 1000 SELECT toLowCardinality(toNullable(2147483646)), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 804 out of 1000 SELECT toNullable(2147483646), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 SELECT toNullable(2147483646), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toNullable(2147483646), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(2147483646), 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 806 out of 1000 SELECT toNullable(2147483646), toInt256(65537) WITH TOTALS Error on processing query 'SELECT toNullable(2147483646), toInt256(65537) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 807 out of 1000 SELECT toNullable(2147483646), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 808 out of 1000 SELECT toNullable(2147483646), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 809 out of 1000 SELECT toNullable(2147483646), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 810 out of 1000 SELECT toNullable(2147483646), 65537 WITH TOTALS Error on processing query 'SELECT toNullable(2147483646), 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 811 out of 1000 SELECT toNullable(materialize(2147483646)), 65537 PREWHERE toLowCardinality(toLowCardinality(toInt128(65535))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toNullable(materialize(2147483646)), 65537 PREWHERE toLowCardinality(toLowCardinality(toInt128(65535))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(materialize(2147483646)), 65537 PREWHERE toLowCardinality(toLowCardinality(toInt128(65535))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 812 out of 1000 SELECT toNullable(2147483646), 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 813 out of 1000 SELECT 2147483646, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 SELECT 2147483646, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 815 out of 1000 SELECT 2147483646, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 816 out of 1000 SELECT 2147483646, 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 2147483646, 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 2147483646, 65537 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 817 out of 1000 SELECT 2147483646, 65537 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 818 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(1)) GROUP BY GROUPING SETS ((toNullable(toInt128(65537)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 820 out of 1000 SELECT toNullable(2147483646), toInt128(65537) WHERE materialize(toLowCardinality(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 EXPLAIN PIPELINE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN AST SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('2147483646'): 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 824 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 825 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('2147483646'): 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 826 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 827 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('2147483646'): 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 828 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 829 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 830 out of 1000 EXPLAIN PIPELINE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN PIPELINE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 832 out of 1000 EXPLAIN PIPELINE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 833 out of 1000 EXPLAIN SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 834 out of 1000 EXPLAIN SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 835 out of 1000 EXPLAIN PIPELINE SELECT 2147483646, toInt128(65537) WHERE materialize(toLowCardinality(materialize(toLowCardinality(1)))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 836 out of 1000 SELECT 2147483646, toInt128(65537) WHERE materialize(materialize(toLowCardinality(1))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 SELECT 2147483646, toInt128(65537) WHERE materialize(materialize(toLowCardinality(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 2147483646, toInt128(65537) WHERE materialize(materialize(toLowCardinality(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT 2147483646, toInt128(65537) WHERE materialize(materialize(toLowCardinality(1))) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 838 out of 1000 SELECT 2147483646, toInt128(65537) WHERE materialize(materialize(toLowCardinality(1))) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 839 out of 1000 SELECT toNullable(toInt256(2147483646)), toInt128(65537) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 840 out of 1000 SELECT toNullable(toInt256(2147483646)), toInt128(65537) WHERE materialize(materialize(1)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 841 out of 1000 SELECT toNullable(toInt256(2147483646)), toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 SELECT toInt256(2147483646), toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 844 out of 1000 SELECT 2147483646, toInt128(materialize(toLowCardinality(2147483646)), 65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'SELECT 2147483646, toInt128(materialize(toLowCardinality(2147483646)), 65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT 2147483646, toInt128(materialize(toLowCardinality(2147483646)), 65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071b92db 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 845 out of 1000 SELECT 2147483646, toInt128(t__fuzz_26, 65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Error on processing query 'SELECT 2147483646, toInt128(t__fuzz_26, 65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_26' in scope SELECT 2147483646, toInt128(t__fuzz_26, 65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 846 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 847 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 848 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 849 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 850 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 851 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 852 out of 1000 SELECT 2147483646, toInt128(65537) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 853 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 854 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(toInt128(65537)))) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(toInt128(65537)))) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('2147483646'): 2147483646 GROUP BY GROUPING SETS ((toNullable(toInt128(65537)))) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 855 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 856 out of 1000 SELECT 2147483646 WITH TOTALS Error on processing query 'SELECT 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 857 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 858 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 859 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 860 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 861 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 862 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 863 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 864 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 865 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(toNullable(65537)))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(toNullable(65537)))) WITH TOTALS Got boring AST Fuzzing step 868 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(toNullable(65537)))) WITH TOTALS Got boring AST Fuzzing step 869 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 870 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH CUBE WITH TOTALS Error on processing query 'SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 871 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 872 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 873 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 874 out of 1000 SELECT toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 875 out of 1000 SELECT toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 876 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(toNullable(materialize(65537))))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 879 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 880 out of 1000 SELECT toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 881 out of 1000 SELECT toLowCardinality(toNullable(materialize(65537))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(30, 65537))) WITH TOTALS Error on processing query 'SELECT toLowCardinality(toNullable(materialize(65537))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(30, 65537))) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toLowCardinality(toNullable(materialize(65537))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(30, 65537))) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106379e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 882 out of 1000 SELECT toNullable(toLowCardinality(materialize(65537))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 SELECT toNullable(toLowCardinality(materialize(65537))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 884 out of 1000 SELECT toNullable(toLowCardinality(materialize(65537))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 885 out of 1000 SELECT toNullable(toLowCardinality(65537)), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT toNullable(toLowCardinality(65537)), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(toLowCardinality(65537)), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 886 out of 1000 SELECT toNullable(toLowCardinality(materialize(65537))), toLowCardinality(2147483646) GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 887 out of 1000 SELECT toNullable(materialize(65537)), 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 890 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 2147483646 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 891 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 892 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 893 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 894 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 895 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 896 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 897 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 898 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 899 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 900 out of 1000 SELECT 2147483646 GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 2147483646 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 901 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 902 out of 1000 SELECT 2147483646 WITH TOTALS Error on processing query 'SELECT 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 903 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 904 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 905 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toNullable(65537))) WITH TOTALS Got boring AST Fuzzing step 906 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((65537)) WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY GROUPING SETS ((65537)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 2147483646 GROUP BY GROUPING SETS ((65537)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:4084: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x0000000011063785 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 907 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 SELECT toNullable(toInt256(2147483646)) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 SELECT toNullable(toInt256(2147483646)) GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 910 out of 1000 SELECT toNullable(2147483646) GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 SELECT toNullable(2147483646) GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT toNullable(2147483646) GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(2147483646) GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 912 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 913 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 914 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 915 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 916 out of 1000 SELECT a, 2147483646 GROUP BY toNullable(65537) WITH TOTALS Error on processing query 'SELECT a, 2147483646 GROUP BY toNullable(65537) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'a' in scope SELECT a, 2147483646 GROUP BY toNullable(65537) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 917 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 918 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 919 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 920 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 921 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 922 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 923 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 924 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 925 out of 1000 SELECT toLowCardinality(toNullable(2147483646)) GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT toLowCardinality(toNullable(2147483646)) GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(toNullable(2147483646)) GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 926 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 927 out of 1000 SELECT 2147483646 GROUP BY toNullable(65537) WITH TOTALS Got boring AST Fuzzing step 928 out of 1000 SELECT 2147483646 GROUP BY toNullable(toLowCardinality(65537)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 929 out of 1000 SELECT 2147483646 GROUP BY toNullable(toLowCardinality(65537)) WITH TOTALS Got boring AST Fuzzing step 930 out of 1000 SELECT 2147483646 GROUP BY toNullable(toLowCardinality(65537)) WITH TOTALS Got boring AST Fuzzing step 931 out of 1000 SELECT 2147483646 GROUP BY toNullable(toLowCardinality(65537)) WITH TOTALS Got boring AST Fuzzing step 932 out of 1000 SELECT 2147483646 GROUP BY toNullable(toLowCardinality(65537)) WITH TOTALS Got boring AST Fuzzing step 933 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 935 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 936 out of 1000 EXPLAIN AST SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 EXPLAIN AST SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 938 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 52 ('2147483646'): 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 939 out of 1000 EXPLAIN AST SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 940 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 942 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 943 out of 1000 EXPLAIN PIPELINE SELECT 2147483646 GROUP BY 65537 WITH TOTALS Error on processing query 'EXPLAIN PIPELINE SELECT 2147483646 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 2147483646 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 944 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 945 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 946 out of 1000 SELECT 2147483646 WITH TOTALS Error on processing query 'SELECT 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 947 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 948 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 949 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 950 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 951 out of 1000 EXPLAIN PIPELINE compact = true SELECT 2147483646 PREWHERE materialize(1) GROUP BY 65537 WITH TOTALS Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 2147483646 PREWHERE materialize(1) GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 952 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 953 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 954 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 955 out of 1000 SELECT 2147483646 GROUP BY 65537 WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY 65537 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 2147483646 GROUP BY 65537 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 956 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 957 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH TOTALS Got boring AST Fuzzing step 958 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 960 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 961 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 962 out of 1000 EXPLAIN SYNTAX SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 EXPLAIN SYNTAX SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 964 out of 1000 EXPLAIN AST SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 EXPLAIN AST SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 966 out of 1000 EXPLAIN AST SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 967 out of 1000 EXPLAIN AST SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 968 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 969 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 970 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 971 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 972 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 974 out of 1000 SELECT 2147483646 WHERE materialize(toLowCardinality(toNullable(-0.)), toNullable(28)) GROUP BY 65537 WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 WHERE materialize(toLowCardinality(toNullable(-0.)), toNullable(28)) GROUP BY 65537 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 2147483646 WHERE materialize(toLowCardinality(toNullable(-0.)), toNullable(28)) GROUP BY 65537 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 975 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 976 out of 1000 EXPLAIN SYNTAX SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 47 ('2147483646'): 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 978 out of 1000 EXPLAIN SYNTAX SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 979 out of 1000 EXPLAIN QUERY TREE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 EXPLAIN SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 EXPLAIN ESTIMATE SELECT 2147483646 WHERE materialize(toNullable(28)) GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 982 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 984 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 985 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 986 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 987 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537, 65537) WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY toLowCardinality(65537, 65537) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 2147483646 GROUP BY toLowCardinality(65537, 65537) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 988 out of 1000 SELECT 2147483646 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY GROUPING SETS ((toLowCardinality(65537))) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 989 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 990 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 991 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH ROLLUP WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH ROLLUP WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 108 ('CUBE'): CUBE WITH TOTALS. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 992 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 993 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 994 out of 1000 SELECT 2147483646 WITH TOTALS Error on processing query 'SELECT 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 995 out of 1000 SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 65537 is out of bounds. Expected in range [1, 1]. In scope SELECT 2147483646 GROUP BY 65537 WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 996 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(65537) WITH CUBE WITH TOTALS Got boring AST Fuzzing step 997 out of 1000 SELECT 2147483646 GROUP BY toLowCardinality(materialize(65537)) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 998 out of 1000 SELECT 2147483646 GROUP BY materialize(65537) WITH CUBE WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 SELECT 2147483646 PREWHERE toNullable(1) GROUP BY materialize(65537) WITH CUBE WITH TOTALS Error on processing query 'SELECT 2147483646 PREWHERE toNullable(1) GROUP BY materialize(65537) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 50 Query succeeded, using this AST as a start Fuzzing step 1 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_0 ( `id` LowCardinality(UInt64), `value1` UInt8, `value2` UInt16, `value3` Nullable(UInt32), `value4` Nullable(UInt64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 2 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_1 ( `id` Decimal(76, 27), `value1` LowCardinality(UInt8), `value2` UInt16, `value3` Nullable(UInt32), `value4` UInt64 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 3 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_2 ( `id` Decimal(76, 27), `value1` LowCardinality(UInt8), `value2` UInt16, `value3` Nullable(UInt32), `value4` Array(UInt64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 4 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_3 ( `id` Decimal(76, 27), `value1` LowCardinality(UInt8), `value2` Int64, `value3` UInt64, `value4` Array(LowCardinality(UInt64)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 5 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_4 ( `id` Decimal(76, 27), `value1` Decimal(76, 67), `value2` Int64, `value3` Array(UInt64), `value4` Array(UInt64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 6 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_5 ( `id` Decimal(76, 27), `value1` Decimal(76, 67), `value2` Int64, `value3` Array(Decimal(76, 62)), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 7 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_6 ( `id` UInt16, `value1` Decimal(76, 67), `value2` Nullable(Int64), `value3` Array(FixedString(5)), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 8 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_7 ( `id` UInt16, `value1` Date, `value2` LowCardinality(Nullable(Int64)), `value3` Array(Nullable(FixedString(5))), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 9 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_8 ( `id` Array(UInt16), `value1` Date, `value2` Int64, `value3` Array(LowCardinality(Nullable(FixedString(5)))), `value4` Nullable(UInt16) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 10 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_9 ( `id` Array(UInt16), `value1` Date, `value2` UInt16, `value3` Array(Nullable(FixedString(5))), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 11 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_10 ( `id` Array(UInt16), `value1` Date, `value2` Decimal(38, 30), `value3` Array(Nullable(FixedString(5))), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 12 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_11 ( `id` Int64, `value1` Date, `value2` DateTime64(3), `value3` Array(Array(Nullable(FixedString(5)))), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 13 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_12 ( `id` LowCardinality(Int64), `value1` Date, `value2` Int256, `value3` Array(Array(Nullable(Int128))), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 14 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_13 ( `id` LowCardinality(Int256), `value1` Date, `value2` Int256, `value3` Array(Array(LowCardinality(Nullable(Int128)))), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 15 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_14 ( `id` LowCardinality(Int256), `value1` Date, `value2` Array(Int256), `value3` Array(Array(LowCardinality(Nullable(Int128)))), `value4` Nullable(UInt16) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 16 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_15 ( `id` Int128, `value1` Array(Date), `value2` Array(Array(Int256)), `value3` Array(Array(LowCardinality(Nullable(Int128)))), `value4` Nullable(UInt16) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 17 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_16 ( `id` Int128, `value1` Array(Date), `value2` UInt256, `value3` Array(Array(LowCardinality(Nullable(Int128)))), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 18 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_17 ( `id` Array(Int128), `value1` Array(Array(Date)), `value2` Array(UInt256), `value3` Array(Array(Date32)), `value4` Decimal(38, 18) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 19 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_18 ( `id` Array(Int128), `value1` Array(Array(Nullable(Date))), `value2` Array(UInt256), `value3` Array(Array(DateTime64(3))), `value4` Decimal(38, 18) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 20 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_19 ( `id` Array(Int128), `value1` Array(Array(LowCardinality(Nullable(Date)))), `value2` Int256, `value3` Array(Array(Date)), `value4` Decimal(38, 18) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 21 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_20 ( `id` Array(Nullable(Int128)), `value1` Array(Array(LowCardinality(Nullable(Date)))), `value2` Nullable(Int256), `value3` Array(Array(Array(Date))), `value4` Array(Decimal(38, 18)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 22 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_21 ( `id` Array(Nullable(Int128)), `value1` UInt8, `value2` Nullable(Int32), `value3` Array(Array(Array(Array(Date)))), `value4` Int32 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 23 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_22 ( `id` Array(Nullable(Int128)), `value1` UInt8, `value2` Nullable(Int32), `value3` Array(Array(Array(Array(Date)))), `value4` LowCardinality(Int32) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 24 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_23 ( `id` Array(Nullable(Int128)), `value1` UInt64, `value2` Nullable(Int32), `value3` Array(Decimal(18, 8)), `value4` LowCardinality(Int32) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 25 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_24 ( `id` Array(Nullable(Int128)), `value1` Int8, `value2` Nullable(Int32), `value3` UInt16, `value4` UInt8 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 26 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_25 ( `id` Array(Nullable(Int128)), `value1` Int8, `value2` Nullable(Int32), `value3` Nullable(UInt16), `value4` LowCardinality(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 27 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_26 ( `id` Array(Array(Nullable(Int128))), `value1` LowCardinality(Int8), `value2` Nullable(Int32), `value3` Nullable(UInt16), `value4` LowCardinality(Nullable(UInt8)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 28 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_27 ( `id` Array(Array(Array(Int128))), `value1` LowCardinality(Int8), `value2` LowCardinality(Nullable(Int32)), `value3` Nullable(UInt16), `value4` Nullable(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 29 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_28 ( `id` Array(Array(Array(Int128))), `value1` Int8, `value2` Float32, `value3` LowCardinality(Nullable(UInt16)), `value4` Nullable(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 30 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_29 ( `id` Array(Array(Array(Int128))), `value1` LowCardinality(Int8), `value2` Float32, `value3` LowCardinality(UInt16), `value4` Nullable(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 31 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_30 ( `id` Array(Array(Array(Nullable(Int128)))), `value1` LowCardinality(Int8), `value2` Float32, `value3` UInt16, `value4` Nullable(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 32 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_31 ( `id` Array(Array(Array(Array(Nullable(Int128))))), `value1` Int8, `value2` Nullable(Float32), `value3` Nullable(UInt16), `value4` Nullable(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 33 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_32 ( `id` Array(Array(Float64)), `value1` Int8, `value2` LowCardinality(Nullable(Float32)), `value3` Nullable(UInt16), `value4` UInt8 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 34 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_33 ( `id` Array(Array(Float64)), `value1` LowCardinality(Int8), `value2` LowCardinality(Nullable(Float32)), `value3` Nullable(UInt16), `value4` LowCardinality(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 35 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_34 ( `id` Array(Array(Float64)), `value1` LowCardinality(Int8), `value2` Float32, `value3` Nullable(UInt16), `value4` LowCardinality(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 36 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_35 ( `id` Array(Array(Float64)), `value1` LowCardinality(Int8), `value2` Nullable(Float32), `value3` Nullable(UInt16), `value4` Nullable(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 37 out of 50 Fuzzing step 38 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_36 ( `id` Array(Array(Float64)), `value1` Nullable(Int8), `value2` Int32, `value3` Nullable(UInt16), `value4` Float32 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 39 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_37 ( `id` Array(Array(Float64)), `value1` UInt128, `value2` Int32, `value3` Array(Nullable(UInt16)), `value4` Nullable(Float32) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 40 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_38 ( `id` Array(Array(UInt256)), `value1` UInt64, `value2` Int32, `value3` Array(Array(Nullable(UInt16))), `value4` Nullable(Float32) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 41 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_39 ( `id` UInt16, `value1` UInt64, `value2` Array(Int16), `value3` Array(Array(DateTime)), `value4` Float32 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 42 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_40 ( `id` Array(UInt16), `value1` Nullable(UInt64), `value2` Array(Int16), `value3` Array(Array(DateTime)), `value4` Array(Float32) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 43 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_41 ( `id` Array(Array(UInt16)), `value1` Nullable(UInt64), `value2` Array(Int16), `value3` Array(Decimal(76, 16)), `value4` Array(Array(Float32)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 44 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_42 ( `id` Array(Array(Array(UInt16))), `value1` Nullable(UInt64), `value2` Array(LowCardinality(Int16)), `value3` Array(Array(Decimal(76, 16))), `value4` Array(Array(Array(Float32))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 45 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_43 ( `id` Int32, `value1` LowCardinality(Nullable(UInt64)), `value2` Array(Array(LowCardinality(Int16))), `value3` Array(Array(Decimal(76, 16))), `value4` Array(Array(Array(Float32))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 46 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_44 ( `id` Int32, `value1` Nullable(UInt64), `value2` Array(Array(LowCardinality(Int16))), `value3` Array(Array(Decimal(76, 16))), `value4` Int64 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 47 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_45 ( `id` Array(Int32), `value1` Nullable(UInt64), `value2` Array(Decimal(18, 1)), `value3` Array(Array(Decimal(76, 16))), `value4` LowCardinality(Int64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 48 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_46 ( `id` Array(Array(Int32)), `value1` Array(Nullable(UInt64)), `value2` Array(Decimal(18, 1)), `value3` Array(Array(Decimal(76, 16))), `value4` LowCardinality(Int64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 49 out of 50 CREATE TABLE test_table_unsigned_values__fuzz_47 ( `id` Array(Array(Int32)), `value1` Array(UInt8), `value2` Array(Decimal(18, 1)), `value3` Array(Array(Decimal(76, 16))), `value4` Array(Int64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start INSERT INTO test_table_unsigned_values__fuzz_43 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_43 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_40 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_40 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_44 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_44 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_39 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_39 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_36 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_36 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_34 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_34 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_38 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_38 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_33 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_33 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_32 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_32 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_31 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_31 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_47 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_47 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_29 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_29 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_28 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_28 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_26 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_26 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_23 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_23 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_45 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_45 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_27 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_27 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_11 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_11 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_21 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_21 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_1 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 INSERT INTO test_table_unsigned_values__fuzz_20 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_20 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_41 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_41 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_17 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_17 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_5 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_5 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_12 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_12 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_42 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_42 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_0 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 INSERT INTO test_table_unsigned_values__fuzz_9 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_9 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_13 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_13 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_8 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_8 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_22 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_22 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_7 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_7 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_3 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_3 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value4. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_10 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_10 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_16 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_16 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_14 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_14 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_4 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_4 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_6 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_6 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_25 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_25 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_18 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_18 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_46 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_46 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_37 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_37 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_30 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_30 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_24 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_24 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_2 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_2 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value4. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_19 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_19 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_unsigned_values__fuzz_15 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_unsigned_values__fuzz_15 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values GROUP BY id ORDER BY id ASC Got boring AST Fuzzing step 2 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 3 out of 1000 SELECT id, any(value1), any(value2), t__fuzz_13, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS LAST Error on processing query 'SELECT id, any(value1), any(value2), t__fuzz_13, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_13' in scope SELECT id, any(value1), any(value2), t__fuzz_13, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 4 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC Got boring AST Fuzzing step 5 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 6 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Got boring AST Fuzzing step 7 out of 1000 SELECT id, any(value1), any(value2) RESPECT NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 8 out of 1000 SELECT id, any(value1), any(value2) RESPECT NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Got boring AST Fuzzing step 9 out of 1000 SELECT id, any(value1), any(value2) RESPECT NULLS, any(materialize(toNullable('Test unsigned integer values')), value3), any(value4) FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(toNullable(30)) GROUP BY id ORDER BY id ASC Error on processing query 'SELECT id, any(value1), any(value2) RESPECT NULLS, any(materialize(toNullable('Test unsigned integer values')), value3), any(value4) FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(toNullable(30)) GROUP BY id ORDER BY id ASC': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be260 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 10 out of 1000 SELECT id, any(value1), any(value2) RESPECT NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2) RESPECT NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 SELECT id, any(value1) IGNORE NULLS, toInt256(2147483646), any(value2) RESPECT NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 SELECT id, any(value1) IGNORE NULLS, toInt256(2147483646), any(value2) RESPECT NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 14 out of 1000 SELECT id, any(value1) IGNORE NULLS, toInt256(2147483646), any(value2) RESPECT NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 PREWHERE toLowCardinality(materialize(65535)) WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Error on processing query 'SELECT id, any(value1) IGNORE NULLS, toInt256(2147483646), any(value2) RESPECT NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 PREWHERE toLowCardinality(materialize(65535)) WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_unsigned_values__fuzz_1 (043487e8-e5b1-4400-83c5-667175ce5de4)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 15 out of 1000 SELECT id, any(value1), 2147483646, any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 16 out of 1000 SELECT id, any(value1), 2147483646, any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 17 out of 1000 SELECT id, any(value1), materialize(toInt256(2147483646)), any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 PREWHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC Error on processing query 'SELECT id, any(value1), materialize(toInt256(2147483646)), any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 PREWHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_unsigned_values__fuzz_1 (043487e8-e5b1-4400-83c5-667175ce5de4)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 18 out of 1000 SELECT id, any(value1), 2147483646, any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 19 out of 1000 SELECT id, any(value1), 2147483646, any(k, value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC NULLS LAST Error on processing query 'SELECT id, any(value1), 2147483646, any(k, value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'k' in scope SELECT id, any(value1), 2147483646, any(k, value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 20 out of 1000 SELECT id, any(value1), 2147483646, any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 SELECT id, any(value1), 2147483646, any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 22 out of 1000 SELECT id, any(value1), 2147483646, any(value2) RESPECT NULLS, any(toUInt256(28), value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Error on processing query 'SELECT id, any(value1), 2147483646, any(value2) RESPECT NULLS, any(toUInt256(28), value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be260 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 23 out of 1000 SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 28 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 30 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 31 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 32 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 33 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 34 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 35 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 36 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 37 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 38 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 40 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 42 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 43 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 44 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 45 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 46 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 47 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 49 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 50 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 51 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 52 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 55 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(toUInt256(30)) GROUP BY id WITH ROLLUP ORDER BY id DESC Error on processing query 'SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(toUInt256(30)) GROUP BY id WITH ROLLUP ORDER BY id DESC': Received from localhost:9000. DB::Exception: Illegal type UInt256 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 58 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(test_table_unsigned_values__fuzz_7, 30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Error on processing query 'SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(test_table_unsigned_values__fuzz_7, 30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_7' in scope SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(test_table_unsigned_values__fuzz_7, 30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 59 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 60 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 63 out of 1000 SELECT id, any(65536, value1), 2147483646, any(value3) RESPECT NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC Error on processing query 'SELECT id, any(65536, value1), 2147483646, any(value3) RESPECT NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 64 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 65 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC Got boring AST Fuzzing step 67 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 69 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 70 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(materialize(toLowCardinality(toInt128(toInt256(65535)))), value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Error on processing query 'SELECT id, any(value1), 2147483646, any(value3), any(materialize(toLowCardinality(toInt128(toInt256(65535)))), value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 71 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 72 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 73 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 74 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) WITH TOTALS ORDER BY id DESC NULLS LAST Error on processing query 'SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) WITH TOTALS ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column default.test_table_unsigned_values__fuzz_0.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(30) WITH TOTALS ORDER BY id DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 75 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 PREWHERE any(value3) WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC Error on processing query 'SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 PREWHERE any(value3) WHERE toLowCardinality(30) GROUP BY id WITH ROLLUP ORDER BY id DESC': Received from localhost:9000. DB::Exception: Aggregate function any(value3) is found in PREWHERE in query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x00000000084d906b 4. /build/src/Analyzer/AggregationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108d271 5. /build/contrib/llvm-project/libcxx/include/string:1499: DB::assertNoAggregateFunctionNodes(std::shared_ptr const&, String const&) @ 0x000000001108d46f 6. /build/contrib/llvm-project/libcxx/include/string:1499: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089069 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 76 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 78 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 80 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 81 out of 1000 SELECT id, any(value1), materialize(2147483646), any(t__fuzz_29, value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC Error on processing query 'SELECT id, any(value1), materialize(2147483646), any(t__fuzz_29, value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_29' in scope SELECT id, any(value1), materialize(2147483646), any(t__fuzz_29, value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 82 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), materialize(toInt128(materialize(65537)), 2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC Error on processing query 'EXPLAIN ESTIMATE SELECT id, any(value1), materialize(toInt128(materialize(65537)), 2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT id, any(value1), materialize(toInt128(materialize(65537)), 2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 19. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 20. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 83 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC Got boring AST Fuzzing step 85 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 86 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC Got boring AST Fuzzing step 87 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 90 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 91 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 SELECT id, any(value1), materialize(2147483646), any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 SELECT id, any(value1), 2147483646, any(toNullable(toLowCardinality(1)), value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Error on processing query 'SELECT id, any(value1), 2147483646, any(toNullable(toLowCardinality(1)), value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be260 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 95 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 100 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 101 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 102 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 104 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 106 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC Got boring AST Fuzzing step 108 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC Got boring AST Fuzzing step 109 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 SELECT id, any(test_table_unsigned_values__fuzz_43, value1), toNullable(toInt256(2147483646)), any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Error on processing query 'SELECT id, any(test_table_unsigned_values__fuzz_43, value1), toNullable(toInt256(2147483646)), any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_43' in scope SELECT id, any(test_table_unsigned_values__fuzz_43, value1), toNullable(toInt256(2147483646)), any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 112 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 113 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 114 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 115 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 116 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 117 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(k, value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(k, value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'k' in scope SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(k, value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 119 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 120 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 121 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 122 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 123 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 124 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 125 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 126 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 127 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 128 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 129 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 130 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 132 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 133 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 134 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 135 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 136 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 137 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 138 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 140 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 141 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 142 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 143 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 145 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 146 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 147 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 149 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 150 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 151 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 152 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 153 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 154 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 155 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 157 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 158 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 159 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 160 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 161 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 162 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 163 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 164 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 165 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 166 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 167 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 168 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 169 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 170 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 171 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 173 out of 1000 SELECT id, any(value1) IGNORE NULLS, 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 PREWHERE test_table_unsigned_values__fuzz_20 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'SELECT id, any(value1) IGNORE NULLS, 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 PREWHERE test_table_unsigned_values__fuzz_20 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_20' in scope SELECT id, any(value1) IGNORE NULLS, 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 PREWHERE test_table_unsigned_values__fuzz_20 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 174 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 175 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 178 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 179 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 180 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 181 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 182 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 183 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 184 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 185 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 186 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 187 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 188 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 189 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 190 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 191 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 192 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 193 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 194 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 197 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 198 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 199 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 200 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 201 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 202 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 203 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 204 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 205 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 206 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 207 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 208 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 209 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 210 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 211 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 212 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 213 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 214 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 215 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 218 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 219 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 220 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 222 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 224 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 225 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 226 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 228 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 229 out of 1000 EXPLAIN SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 231 out of 1000 EXPLAIN AST SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 232 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toNullable(toUInt256(28)) GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST Error on processing query 'SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WHERE toNullable(toUInt256(28)) GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt256) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 234 out of 1000 SELECT id, any(value1), 2147483646, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 239 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 240 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 241 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 242 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 243 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 244 out of 1000 SELECT id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS FIRST Got boring AST Fuzzing step 245 out of 1000 SELECT 1., 6, id, any(value1), 2147483646, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 SELECT 1., 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 SELECT 1., 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 250 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 251 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 252 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 253 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 254 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id DESC Got boring AST Fuzzing step 256 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 257 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(value3) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 259 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(65536, value3) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646, any(65536, value3) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 260 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 261 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY id DESC NULLS LAST Error on processing query 'SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column default.test_table_unsigned_values__fuzz_1.id is not under aggregate function and not in GROUP BY keys. In query SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY id DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 262 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 265 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 EXPLAIN AST SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 EXPLAIN AST SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 268 out of 1000 EXPLAIN AST SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 269 out of 1000 EXPLAIN AST SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 270 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 271 out of 1000 EXPLAIN AST SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 272 out of 1000 EXPLAIN AST SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 273 out of 1000 EXPLAIN AST SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 274 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 33 ('toLowCardinality'): toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 275 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 276 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 277 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 278 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 279 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 280 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 281 out of 1000 EXPLAIN PIPELINE SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 282 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 SELECT toLowCardinality(1.), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 284 out of 1000 SELECT 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 SELECT 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 SELECT 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 288 out of 1000 SELECT toNullable(materialize(toNullable(65537))), 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 289 out of 1000 SELECT toNullable(materialize(toNullable(65537))), 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 SELECT materialize(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(toLowCardinality(1024)) GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Error on processing query 'SELECT materialize(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE toLowCardinality(toLowCardinality(1024)) GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 291 out of 1000 SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, materialize(toInt256(2147483646)) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 294 out of 1000 SELECT toNullable(toNullable(toLowCardinality(65537))), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 296 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 298 out of 1000 EXPLAIN SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 EXPLAIN SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 300 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toNullable'): toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((i. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 301 out of 1000 EXPLAIN SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 302 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 303 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 304 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 305 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toNullable'): toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((i. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 306 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toNullable'): toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((i. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 307 out of 1000 EXPLAIN SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 308 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 309 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 310 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 311 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 312 out of 1000 EXPLAIN SYNTAX SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 313 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 314 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 315 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 316 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 318 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toNullable(65537)), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 319 out of 1000 SELECT toNullable(65537), 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 320 out of 1000 SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 SELECT 65537, 1., materialize(6), id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 322 out of 1000 SELECT 65537, 1., materialize(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 SELECT 65537, 1., materialize(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Got boring AST Fuzzing step 324 out of 1000 SELECT 65537, 1., materialize(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT 65537, 1., materialize(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 326 out of 1000 SELECT 65537, 1., materialize(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 SELECT 65537, 1., materialize(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 328 out of 1000 SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 330 out of 1000 SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 331 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 334 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 335 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 336 out of 1000 EXPLAIN SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 339 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 340 out of 1000 EXPLAIN SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 341 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 342 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 343 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 344 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 345 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 346 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 347 out of 1000 EXPLAIN AST SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 EXPLAIN AST SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 349 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 351 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 352 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 354 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 EXPLAIN AST SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 EXPLAIN AST SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 357 out of 1000 EXPLAIN AST SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 358 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 359 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 361 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 362 out of 1000 EXPLAIN AST SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 EXPLAIN AST SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 364 out of 1000 EXPLAIN AST SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 365 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 367 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 368 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('65537'): 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY i. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 369 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 370 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 371 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 372 out of 1000 SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT 65537, 1., 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 374 out of 1000 SELECT 65537, toDecimal32(1., 0), 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 SELECT 65537, toDecimal32(1., 0), 6, id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 376 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('65537'): 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 378 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 379 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 381 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 382 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 383 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 384 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 385 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('65537'): 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 386 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 387 out of 1000 EXPLAIN PIPELINE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 388 out of 1000 EXPLAIN PIPELINE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 389 out of 1000 EXPLAIN PIPELINE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 390 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('65537'): 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 391 out of 1000 EXPLAIN PIPELINE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 392 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 393 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 394 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 395 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 396 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 397 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 398 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 399 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 400 out of 1000 EXPLAIN PIPELINE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 EXPLAIN PIPELINE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 402 out of 1000 EXPLAIN PIPELINE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 403 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 405 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 406 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 407 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 408 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 409 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 EXPLAIN ESTIMATE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('65537'): 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 413 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 414 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 416 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 417 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 418 out of 1000 EXPLAIN SYNTAX SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 419 out of 1000 EXPLAIN SYNTAX SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 420 out of 1000 EXPLAIN SYNTAX SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 421 out of 1000 EXPLAIN SYNTAX SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 422 out of 1000 EXPLAIN SYNTAX SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 423 out of 1000 EXPLAIN SYNTAX SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 424 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 SELECT 65537, toDecimal32(1., 0), toLowCardinality(toNullable(-0.), 6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Error on processing query 'SELECT 65537, toDecimal32(1., 0), toLowCardinality(toNullable(-0.), 6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 65537, toDecimal32(1., 0), toLowCardinality(toNullable(-0.), 6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 426 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 427 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('65537'): 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 428 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 429 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 430 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 EXPLAIN SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 432 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 433 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('65537'): 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP . Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 434 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 435 out of 1000 EXPLAIN QUERY TREE SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 436 out of 1000 EXPLAIN AST SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 437 out of 1000 EXPLAIN SYNTAX SELECT 65537, toDecimal32(1., 0), toLowCardinality(6), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 438 out of 1000 SELECT 65537, toDecimal32(1., 0), toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 SELECT 65537, 1., 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT 65537, 1., 0, toLowCardinality(toNullable(toLowCardinality(6))), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 441 out of 1000 EXPLAIN PIPELINE compact = true SELECT 65537, 1., 0, toLowCardinality(toNullable(toLowCardinality(materialize(6)))), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 65537, 1., 0, toLowCardinality(toNullable(toLowCardinality(materialize(6)))), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 442 out of 1000 SELECT 65537, 1., 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 443 out of 1000 SELECT 65537, toLowCardinality(1.), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 444 out of 1000 SELECT 65537, toLowCardinality(1.), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 EXPLAIN indexes = true SELECT 65537, toLowCardinality(1.), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN indexes = true SELECT 65537, toLowCardinality(1.), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "indexes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x0000000011585ef2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 446 out of 1000 SELECT 65537, toLowCardinality(1.), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 PREWHERE toDecimal128(toNullable(1.), 30) GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Error on processing query 'SELECT 65537, toLowCardinality(1.), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_0 PREWHERE toDecimal128(toNullable(1.), 30) GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_unsigned_values__fuzz_0 (c4b70ac4-f6ee-4076-aba6-791886b5183d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 447 out of 1000 SELECT 65537, toLowCardinality(1.), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 PREWHERE toLowCardinality(materialize(65535)) GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS FIRST Error on processing query 'SELECT 65537, toLowCardinality(1.), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 PREWHERE toLowCardinality(materialize(65535)) GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_unsigned_values__fuzz_1 (043487e8-e5b1-4400-83c5-667175ce5de4)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 448 out of 1000 SELECT 65537, toLowCardinality(toDecimal64(1., 9)), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Error on processing query 'SELECT 65537, toLowCardinality(toDecimal64(1., 9)), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST': Received from localhost:9000. DB::Exception: DataTypeLowCardinality is supported only for numbers, strings, Date or DateTime, but got Decimal(18, 9): In scope SELECT 65537, toLowCardinality(toDecimal64(1., 9)), 0, toLowCardinality(toNullable(6)), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/DataTypes/DataTypeLowCardinality.cpp:0: DB::DataTypeLowCardinality::DataTypeLowCardinality(std::shared_ptr) @ 0x0000000010c4116c 5. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1460: std::shared_ptr std::allocate_shared[abi:v15007], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x000000000b7a1da3 6. /build/src/Functions/toLowCardinality.cpp:34: DB::(anonymous namespace)::FunctionToLowCardinality::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b7a1cb1 7. /build/contrib/llvm-project/libcxx/include/vector:438: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x00000000070108de 8. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 9. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 10. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 449 out of 1000 SELECT 65537, toLowCardinality(1.), 0, toNullable(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 450 out of 1000 SELECT 65537, toLowCardinality(1.), 0, toNullable(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 451 out of 1000 SELECT 65537, toLowCardinality(1.), 0, toNullable(6), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS LAST Got boring AST Fuzzing step 452 out of 1000 SELECT 65537, toLowCardinality(1.), 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 SELECT 65537, toLowCardinality(1.), 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 454 out of 1000 SELECT 65537, toLowCardinality(1.), 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 SELECT 65537, toLowCardinality(1.), 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 458 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 459 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, toInt256(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 461 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 463 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 464 out of 1000 EXPLAIN AST SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 466 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 467 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('65537'): 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NU. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 469 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('65537'): 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NU. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 470 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 471 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 472 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 474 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 475 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 476 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 36 ('65537'): 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NU. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 477 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 478 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 479 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 480 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 481 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 482 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 483 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('65537'): 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NU. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 484 out of 1000 EXPLAIN AST SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 485 out of 1000 EXPLAIN AST SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 486 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 489 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 490 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 493 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 494 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 496 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 497 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 498 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 499 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 500 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('65537'): 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NU. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 501 out of 1000 EXPLAIN SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('65537'): 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NU. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 503 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 SELECT 65537, 1., 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 SELECT 65537, materialize(toNullable(toDecimal32(1., 1))), 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 507 out of 1000 SELECT 65537, materialize(toNullable(toDecimal32(1., 1))), 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY id ASC Got boring AST Fuzzing step 508 out of 1000 SELECT 65537, materialize(toNullable(toDecimal32(1., 1))), 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC Query succeeded, using this AST as a start Fuzzing step 509 out of 1000 SELECT 65537, materialize(toNullable(toDecimal32(1., 1))), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 510 out of 1000 SELECT 65537, toNullable(toDecimal32(1., 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 511 out of 1000 SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 512 out of 1000 EXPLAIN QUERY TREE passes = true SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC NULLS FIRST Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 513 out of 1000 SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC Query succeeded, using this AST as a start Fuzzing step 514 out of 1000 SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), 1)), materialize(0), 6, id, any(materialize(toNullable(28)), value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, id DESC Error on processing query 'SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), 1)), materialize(0), 6, id, any(materialize(toNullable(28)), value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, id DESC': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be260 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 515 out of 1000 SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC Query succeeded, using this AST as a start Fuzzing step 516 out of 1000 SELECT 65537, toNullable(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id ASC Error on processing query 'SELECT 65537, toNullable(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id ASC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65537, toNullable(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 517 out of 1000 SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), toLowCardinality(28), 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC Error on processing query 'SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), toLowCardinality(28), 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toDecimal32'. Expected 2 arguments, got 3 arguments: In scope SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), toLowCardinality(28), 1)), materialize(0), 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/contrib/llvm-project/libcxx/include/vector:547: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000072f9401 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000072ebfbb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 17. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 518 out of 1000 SELECT toNullable(65537), toNullable(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC Error on processing query 'SELECT toNullable(65537), toNullable(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(65537), toNullable(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 519 out of 1000 SELECT 65537, toDecimal32(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY materialize(toLowCardinality(toInt128(toInt256(65535)))) ASC NULLS LAST, id DESC Error on processing query 'SELECT 65537, toDecimal32(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY materialize(toLowCardinality(toInt128(toInt256(65535)))) ASC NULLS LAST, id DESC': Received from localhost:9000. DB::Exception: Column default.test_table_unsigned_values__fuzz_1.id is not under aggregate function and not in GROUP BY keys. In query SELECT 65537, toDecimal32(toLowCardinality(1.), 1), materialize(0), 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY materialize(toLowCardinality(toInt128(toInt256(65535)))) ASC NULLS LAST, id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 520 out of 1000 SELECT 65537, toNullable(toDecimal32(toLowCardinality(1.), 1)), 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 SELECT 65537, toDecimal32(toLowCardinality(1.), 1), 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 SELECT 65537, toDecimal32(toLowCardinality(1.), 1), 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, id DESC NULLS FIRST Got boring AST Fuzzing step 523 out of 1000 SELECT 65537, toDecimal32(toLowCardinality(1.), 1), 0, 6, id, any(value1), materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, t__fuzz_1 ASC, id DESC NULLS FIRST Error on processing query 'SELECT 65537, toDecimal32(toLowCardinality(1.), 1), 0, 6, id, any(value1), materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, t__fuzz_1 ASC, id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_1' in scope SELECT 65537, toDecimal32(toLowCardinality(1.), 1), 0, 6, id, any(value1), materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC, t__fuzz_1 ASC, id DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 524 out of 1000 SELECT materialize(65537), toDecimal32(toLowCardinality(1.), 1), 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 SELECT materialize(65537), toDecimal32(toLowCardinality(1.), 1), 0, 6, id, any(value1) IGNORE NULLS, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id DESC NULLS FIRST Got boring AST Fuzzing step 526 out of 1000 SELECT materialize(65537), toDecimal32(toLowCardinality(1.), 1), 0, 6, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 527 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id DESC Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id DESC Got boring AST Fuzzing step 529 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC Got boring AST Fuzzing step 531 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 532 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, toLowCardinality(6), toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 SELECT 65537, toDecimal32(1., 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 536 out of 1000 SELECT 65537, toDecimal32(toDecimal256(1., 5), 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 537 out of 1000 SELECT 65537, toDecimal32(toDecimal256(1., toNullable(5)), 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 SELECT 65537, toDecimal32(toDecimal256(1., 5), 1), 0, 6, toLowCardinality(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 SELECT 65537, toDecimal32(toDecimal256(1., 5), 1), 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 SELECT 65537, toDecimal256(1., 5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 SELECT 65537, toDecimal256(1., 5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Got boring AST Fuzzing step 542 out of 1000 SELECT 65537, toDecimal256(1., 5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Got boring AST Fuzzing step 543 out of 1000 SELECT 65537, toDecimal256(1., 5), 1, 0, 6, 1048576, id, any(toUInt256(62), value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Error on processing query 'SELECT 65537, toDecimal256(1., 5), 1, 0, 6, 1048576, id, any(toUInt256(62), value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 544 out of 1000 SELECT 65537, toDecimal256(1., toLowCardinality(5)), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 545 out of 1000 SELECT 65537, 1., toLowCardinality(5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 546 out of 1000 SELECT 65537, 1., toLowCardinality(5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC NULLS LAST Got boring AST Fuzzing step 547 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH ROLLUP ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Error on processing query 'SELECT 65537, 1., 5, 1, 0, 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH ROLLUP ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 548 out of 1000 SELECT 65537, 1., toLowCardinality(5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC NULLS LAST Got boring AST Fuzzing step 549 out of 1000 SELECT 65537, 1., toLowCardinality(5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 550 out of 1000 SELECT 65537, 1., toLowCardinality(5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC NULLS LAST Got boring AST Fuzzing step 551 out of 1000 SELECT 65537, 1., toLowCardinality(5), 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC NULLS FIRST Got boring AST Fuzzing step 555 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 SELECT 65537, 1., 5, toUInt128(1), 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT 65537, 1., 5, toUInt128(1), 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id DESC Got boring AST Fuzzing step 558 out of 1000 SELECT 65537, 1., 5, toUInt128(1), 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id ASC Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 SELECT 65537, 1., 5, toUInt128(materialize(toNullable(1))), 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id ASC Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 SELECT 65537, 1., 5, toUInt128(materialize(toNullable(1))), 0, 6, 1048576, id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 SELECT 65537, 1., 5, toUInt128(toNullable(1)), 0, 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 562 out of 1000 SELECT 65537, 1., 5, toUInt128(toNullable(1)), 0, 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT 65537, 1., 5, toUInt128(toNullable(1)), 0, 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 SELECT 65537, 1., 5, toUInt128(toNullable(1)), toUInt256(0), 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 565 out of 1000 SELECT materialize(65537), 1., 5, toNullable(1), toUInt256(0), 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH CUBE ORDER BY id ASC NULLS FIRST Error on processing query 'SELECT materialize(65537), 1., 5, toNullable(1), toUInt256(0), 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH CUBE ORDER BY id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 566 out of 1000 SELECT 65537, 1., 5, toUInt128(1), 0, 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 567 out of 1000 SELECT 65537, 1., toNullable(5), toUInt128(1), 0, 6, materialize(1048576), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 568 out of 1000 SELECT 65537, 1., toNullable(5), toUInt128(1), 0, 6, materialize(materialize(toNullable(1048576))), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 569 out of 1000 SELECT 65537, 1., toNullable(5), toUInt128(1), 0, toLowCardinality(toUInt128(6)), materialize(materialize(toNullable(1048576))), id, any(value1) IGNORE NULLS, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 570 out of 1000 SELECT 65537, 1., toNullable(5), toUInt128(1), 0, toLowCardinality(toUInt128(6)), materialize(materialize(toNullable(1048576))), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) ASC, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 SELECT 65537, materialize(1.), toNullable(5), toUInt128(1), 0, toLowCardinality(toUInt128(6)), materialize(materialize(toNullable(1048576))), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC, toNullable(toNullable(65537)) ASC NULLS LAST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT 65537, materialize(1.), toNullable(5), toUInt128(1), 0, toLowCardinality(toUInt128(6)), materialize(materialize(1048576)), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC, toNullable(toNullable(65537)) DESC NULLS FIRST, id ASC Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 SELECT 65537, materialize(1.), toNullable(5), toUInt128(1), 0, toLowCardinality(6), materialize(materialize(1048576)), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 SELECT 65537, materialize(1.), toNullable(5), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC, toNullable(toNullable(65537)) DESC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 575 out of 1000 SELECT 65537, materialize(1.), toNullable(toNullable(5)), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC, toNullable(toNullable(65537)) DESC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 576 out of 1000 SELECT 65537, materialize(1.), toNullable(toNullable(5)), toUInt128(1), 0, 6, materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, toNullable(toNullable(65537)) DESC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 SELECT 65537, materialize(1.), toNullable(5), toUInt128(1), 0, 6, materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, toNullable(toNullable(65537)) DESC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 578 out of 1000 SELECT 65537, materialize(1.), toNullable(5), toUInt128(1), 0, 6, materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC, toNullable(toNullable(65537)) DESC, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 SELECT 65537, materialize(1.), toNullable(materialize(5)), toUInt128(1), 0, 6, materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC, toNullable(toNullable(65537)) DESC, id DESC Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT toNullable(65537), materialize(1.), toNullable(materialize(toNullable(5))), 1, 0, 6, materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC, test_table_unsigned_values__fuzz_17 ASC, toNullable(toNullable(65537)) DESC, id DESC Error on processing query 'SELECT toNullable(65537), materialize(1.), toNullable(materialize(toNullable(5))), 1, 0, 6, materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC, test_table_unsigned_values__fuzz_17 ASC, toNullable(toNullable(65537)) DESC, id DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_17' in scope SELECT toNullable(65537), materialize(1.), toNullable(materialize(toNullable(5))), 1, 0, 6, materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC, test_table_unsigned_values__fuzz_17 ASC, toNullable(toNullable(65537)) DESC, id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 581 out of 1000 SELECT 65537, materialize(1.), toNullable(materialize(5)), toUInt128(1), 0, 6, materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC, toNullable(toNullable(65537)) DESC, id DESC Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 SELECT 65537, materialize(1.), toNullable(materialize(5)), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC, toNullable(toNullable(65537)) DESC, id DESC Query succeeded, using this AST as a start Fuzzing step 583 out of 1000 SELECT 65537, materialize(1.), toNullable(materialize(5)), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC, toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 SELECT 65537, materialize(1.), materialize(5), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id ASC Query succeeded, using this AST as a start Fuzzing step 585 out of 1000 SELECT 65537, materialize(1.), materialize(5), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id ASC Got boring AST Fuzzing step 586 out of 1000 SELECT 65537, 1., materialize(5), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, materialize(toNullable(1.)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id ASC Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT 65537, 1., materialize(5), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 SELECT 65537, 1., materialize(5), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY 76 ASC, toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC Error on processing query 'SELECT 65537, 1., materialize(5), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY 76 ASC, toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC': Received from localhost:9000. DB::Exception: Positional argument number 76 is out of bounds. Expected in range [1, 10]. In scope SELECT 65537, 1., materialize(5), toUInt128(1), 0, toLowCardinality(6), materialize(1048576), id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY 76 ASC, toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 589 out of 1000 SELECT 65537, 1., materialize(5), toUInt128(1), 0, 6, materialize(1048576), id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 590 out of 1000 SELECT 65537, 1., materialize(5), toUInt128(1), 0, materialize(6), materialize(1048576), id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC Query succeeded, using this AST as a start Fuzzing step 591 out of 1000 SELECT 65537, 1., materialize(5), toUInt128(1), 0, 6, materialize(1048576), id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 SELECT 65537, 1., materialize(5), toUInt128(1), 0, 6, materialize(1048576), id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 593 out of 1000 SELECT 65537, 1., materialize(5), 1, 0, 6, 1048576, id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS FIRST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 595 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS FIRST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC Query succeeded, using this AST as a start Fuzzing step 596 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 597 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, materialize(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS FIRST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 598 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS FIRST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT 65537, 1., 5, toLowCardinality(toUInt256(1)), 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS FIRST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 600 out of 1000 SELECT 65537, 1., 5, toLowCardinality(toUInt256(1)), 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS FIRST, toNullable(toNullable(65537)) DESC, id DESC Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT 65537, 1., 5, toLowCardinality(toUInt256(1)), 0, 6, 1048576, id, toNullable(1.), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id ASC Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT 65537, 1., 5, toLowCardinality(toUInt256(1)), 0, 6, 1048576, id, toNullable(1.), materialize(toLowCardinality(2147483646)) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 603 out of 1000 SELECT 65537, 1., 5, toLowCardinality(toUInt256(1)), 0, 6, 1048576, id, 1., materialize(toLowCardinality(2147483646)) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., materialize(toLowCardinality(2147483646)) FROM test_table_unsigned_values__fuzz_1 WHERE 18 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 605 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., materialize(toLowCardinality(2147483646)) FROM test_table_unsigned_values__fuzz_1 WHERE 18 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Got boring AST Fuzzing step 606 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., materialize(toLowCardinality(2147483646)) FROM test_table_unsigned_values__fuzz_1 WHERE 18 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 607 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 WHERE 18 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 WHERE 256 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC Error on processing query 'SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 WHERE 256 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 609 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 18 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 610 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 18 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 611 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 18 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 18 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS LAST Got boring AST Fuzzing step 613 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 18 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 614 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 18 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(toNullable(1024)), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 616 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(toNullable(1024)), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(toNullable(1024)), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 618 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(toNullable(1024)), id, toDecimal64(1., 7), 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, 1048577 ASC, id DESC NULLS FIRST Error on processing query 'SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(toNullable(1024)), id, toDecimal64(1., 7), 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, 1048577 ASC, id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 1048577 is out of bounds. Expected in range [1, 11]. In scope SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(toNullable(1024)), id, toDecimal64(1., 7), 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC NULLS LAST, 1048577 ASC, id DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 619 out of 1000 SELECT 65537, 1., 5, 1, materialize(0), 6, toLowCardinality(1048576), toNullable(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(toNullable(65537)) DESC, id DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 620 out of 1000 SELECT 65537, 1., 5, 1, materialize(0), 6, toLowCardinality(1048576), toNullable(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 621 out of 1000 SELECT 65537, 1., 5, 1, materialize(0), 6, toLowCardinality(1048576), toNullable(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, id DESC Got boring AST Fuzzing step 622 out of 1000 SELECT 65537, 1., 5, 1, materialize(0), 6, toLowCardinality(1048576), 1024, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, id DESC Query succeeded, using this AST as a start Fuzzing step 623 out of 1000 SELECT 65537, 1., 5, 1, materialize(0), 6, toLowCardinality(1048576), 1024, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, id DESC Got boring AST Fuzzing step 624 out of 1000 SELECT 65537, 1., 5, 1, materialize(0), 6, toLowCardinality(1048576), 1024, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 625 out of 1000 SELECT 65537, 1., 5, 1, materialize(0), 6, 1048576, 1024, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, t__fuzz_6 ASC, id DESC Error on processing query 'SELECT 65537, 1., 5, 1, materialize(0), 6, 1048576, 1024, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, t__fuzz_6 ASC, id DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_6' in scope SELECT 65537, 1., 5, 1, materialize(0), 6, 1048576, 1024, id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, t__fuzz_6 ASC, id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 626 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, toLowCardinality(1048576), materialize(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, id ASC Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, toLowCardinality(1048576), materialize(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id ASC Query succeeded, using this AST as a start Fuzzing step 628 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, toLowCardinality(1048576), materialize(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id ASC Query succeeded, using this AST as a start Fuzzing step 629 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id ASC Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 631 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_1 WHERE 10 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC Query succeeded, using this AST as a start Fuzzing step 632 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, 1., 2147483646 FROM test_table_unsigned_values__fuzz_0 WHERE 10 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, materialize(toDecimal64(1., 14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(materialize(materialize(toNullable(materialize(65537))), toLowCardinality(toInt128(toInt256(65535)))), 1024), id, materialize(toDecimal64(1., 14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC Error on processing query 'SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(materialize(materialize(toNullable(materialize(65537))), toLowCardinality(toInt128(toInt256(65535)))), 1024), id, materialize(toDecimal64(1., 14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(materialize(materialize(toNullable(materialize(65537))), toLowCardinality(toInt128(toInt256(65535)))), 1024), id, materialize(toDecimal64(1., 14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 15. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 635 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, materialize(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST Error on processing query 'SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, materialize(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, materialize(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 636 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, materialize(1024), id, materialize(toDecimal64(1., 14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST Got boring AST Fuzzing step 637 out of 1000 SELECT materialize(65537), 1., 5, 1, 0, 6, 1048576, materialize(1024), id, materialize(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST Error on processing query 'SELECT materialize(65537), 1., 5, 1, 0, 6, 1048576, materialize(1024), id, materialize(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT materialize(65537), 1., 5, 1, 0, 6, 1048576, materialize(1024), id, materialize(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 638 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, 1024, id, materialize(toDecimal64(1., 14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, 1024, id, materialize(toDecimal64(1., 14)), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 SELECT toInt128(65537), 1., toLowCardinality(5), 1, 0, 6, 1048576, 1024, id, toDecimal64(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) ASC, id DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 642 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, 1024, id, materialize(toNullable(toInt256(65535))), toDecimal64(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC, toNullable(materialize(1)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 643 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 SELECT toNullable(65537), 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(1., 14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 645 out of 1000 SELECT toNullable(65537), 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) ASC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 SELECT toNullable(65537), 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 PREWHERE toNullable(14, 62) GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) ASC NULLS LAST, id ASC NULLS FIRST Error on processing query 'SELECT toNullable(65537), 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 PREWHERE toNullable(14, 62) GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) ASC NULLS LAST, id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT toNullable(65537), 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 PREWHERE toNullable(14, 62) GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) ASC NULLS LAST, id ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 647 out of 1000 SELECT toNullable(65537), 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) ASC NULLS LAST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 648 out of 1000 SELECT toNullable(65537), 1., 5, 1, 0, 6, 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(materialize(1)) ASC NULLS LAST, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 SELECT toNullable(65537), 1., 5, 1, 0, materialize(6), 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toLowCardinality(2147483646)) ASC NULLS LAST, toNullable(materialize(1)) ASC NULLS LAST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT toNullable(65537), 1., 5, 1, 0, materialize(6), 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC NULLS LAST, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 651 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT toNullable(65537), 1., 5, 1, 0, materialize(6), 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC NULLS FIRST, id ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT toNullable(65537), 1., 5, 1, 0, materialize(6), 1048576, 1024, id, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC NULLS FIRST, id ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 652 out of 1000 SELECT 65537, 1., 5, 1, toNullable(0), materialize(6), 1048576, 1024, id, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC, id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT 65537, 1., 5, 1, toNullable(0), materialize(6), 1048576, 1024, id, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 SELECT 65537, 1., 5, 1, toNullable(0), materialize(6), 1048576, 1024, id, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 SELECT 65537, 1., 5, 1, toNullable(0), materialize(6), 1048576, 1024, id, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 656 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), toNullable(0), materialize(6), 1048576, 1024, id, toLowCardinality(1.), 14, toNullable(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), toNullable(0), 6, 1048576, 1024, id, 1., 14, toNullable(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 658 out of 1000 SELECT 65537, 1., 5, toLowCardinality(1), 0, 6, 1048576, 1024, id, 1., toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 659 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, 1024, id, 1., toNullable(toLowCardinality(14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 660 out of 1000 SELECT 65537, 1., 5, 1, 0, 6, 1048576, 1024, id, 1., toNullable(toLowCardinality(14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Got boring AST Fuzzing step 661 out of 1000 SELECT 65537, toDecimal64(1., 10), 5, 1, 0, 6, 1048576, 1024, id, 1., toNullable(toLowCardinality(14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 662 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, id, 1., toNullable(toLowCardinality(14)), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 663 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toNullable(toLowCardinality(14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toNullable(toLowCardinality(14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 665 out of 1000 SELECT 65537, 1., toLowCardinality(10), toNullable(toUInt256(5)), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 666 out of 1000 SELECT 65537, 1., toLowCardinality(10), toNullable(toUInt256(5)), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Got boring AST Fuzzing step 667 out of 1000 SELECT 65537, 1., toLowCardinality(10), toNullable(toUInt256(5)), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(toNullable(14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 SELECT 65537, 1., toLowCardinality(10), toNullable(toUInt256(5)), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(toNullable(14)), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 669 out of 1000 SELECT 65537, 1., toLowCardinality(10), toNullable(toUInt256(5)), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(toNullable(14)), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 SELECT 65537, toDecimal64(1., 12), toLowCardinality(10), toNullable(5), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(toNullable(14)), toLowCardinality(toNullable(65537)), 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Error on processing query 'SELECT 65537, toDecimal64(1., 12), toLowCardinality(10), toNullable(5), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(toNullable(14)), toLowCardinality(toNullable(65537)), 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toNullable(materialize(1)) DESC': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 671 out of 1000 SELECT 65537, 1., toLowCardinality(10), toUInt256(5), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 SELECT 65537, 1., toLowCardinality(10), toUInt256(5), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 673 out of 1000 SELECT 65537, 1., toLowCardinality(10), toUInt256(5), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 674 out of 1000 SELECT 65537, 1., toLowCardinality(10), toUInt256(5), 1, 0, 6, 1048576, 1024, id, toLowCardinality(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 SELECT 65537, 1., 10, toUInt256(5), 1, 0, 6, 1048576, 1024, toNullable(65537), id, toLowCardinality(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 676 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, toLowCardinality(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 677 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 679 out of 1000 SELECT materialize(65537), 1., 10, 5, toNullable(1), 0, 6, 1048576, 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 680 out of 1000 SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 681 out of 1000 SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 682 out of 1000 SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 683 out of 1000 SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, toLowCardinality(65537), test_table_unsigned_values__fuzz_2, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Error on processing query 'SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, toLowCardinality(65537), test_table_unsigned_values__fuzz_2, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_2' in scope SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, toLowCardinality(65537), test_table_unsigned_values__fuzz_2, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 684 out of 1000 SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 EXPLAIN AST SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 687 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 44 ('materialize'): materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537,. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 688 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 689 out of 1000 EXPLAIN SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 690 out of 1000 EXPLAIN AST SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 691 out of 1000 EXPLAIN AST SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 692 out of 1000 EXPLAIN PIPELINE SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 693 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 694 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 695 out of 1000 EXPLAIN AST SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 696 out of 1000 EXPLAIN AST SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 697 out of 1000 EXPLAIN AST SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 698 out of 1000 EXPLAIN AST SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 699 out of 1000 EXPLAIN AST SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 700 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 702 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), 1., toLowCardinality(10), 5, toNullable(1), 0, 6, toLowCardinality(1048576), 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 703 out of 1000 SELECT materialize(65537), 1., toLowCardinality(10), 5, 1, 0, 6, 1048576, 1024, 65537, id, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 704 out of 1000 SELECT materialize(65537), 1., toLowCardinality(10), 5, 1, 0, 6, 1048576, 1024, 65537, id, materialize(1.), toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 705 out of 1000 SELECT 65537, 1., toLowCardinality(toLowCardinality(toUInt256(10))), 5, materialize(1), 0, toUInt256(6), 1048576, 1024, 65537, id, materialize(1.), toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 SELECT 65537, 1., toLowCardinality(toUInt256(10)), 5, materialize(toNullable(toUInt256(28)), 1), 0, toUInt256(6), 1048576, 1024, 65537, id, materialize(1.), toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH CUBE WITH TOTALS ORDER BY toNullable(materialize(1)) ASC Error on processing query 'SELECT 65537, 1., toLowCardinality(toUInt256(10)), 5, materialize(toNullable(toUInt256(28)), 1), 0, toUInt256(6), 1048576, 1024, 65537, id, materialize(1.), toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH CUBE WITH TOTALS ORDER BY toNullable(materialize(1)) ASC': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 65537, 1., toLowCardinality(toUInt256(10)), 5, materialize(toNullable(toUInt256(28)), 1), 0, toUInt256(6), 1048576, 1024, 65537, id, materialize(1.), toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH CUBE WITH TOTALS ORDER BY toNullable(materialize(1)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 707 out of 1000 SELECT 65537, 1., toLowCardinality(toLowCardinality(toUInt256(10))), 5, materialize(1), 0, 6, 1048576, 1024, 65537, id, materialize(1.), toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 708 out of 1000 SELECT 65537, 1., toLowCardinality(toLowCardinality(10)), 5, materialize(1), 0, 6, 1048576, 1024, 65537, id, 1., toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 709 out of 1000 SELECT 65537, 1., toLowCardinality(10), 5, materialize(1), 0, 6, 1048576, 1024, 65537, id, 1., toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 SELECT 65537, 1., toLowCardinality(10), 5, materialize(1), 0, 6, 1048576, toNullable(1024), 65537, id, 1., toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 SELECT 65537, 1., toLowCardinality(10), 5, 1, toLowCardinality(toUInt128(0)), 6, 1048576, toNullable(1024), 65537, id, 1., toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 SELECT 65537, 1., toLowCardinality(10), 5, 1, toLowCardinality(toUInt128(0)), 6, 1048576, toNullable(toLowCardinality(1024)), 65537, id, 1., toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 SELECT 65537, 1., toLowCardinality(10), 5, 1, toLowCardinality(toUInt128(0)), 6, 1048576, toNullable(1024), 65537, id, 1., toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 714 out of 1000 SELECT 65537, toLowCardinality(1.), toLowCardinality(10), 5, 1, toLowCardinality(toUInt128(0)), 6, 1048576, toNullable(1024), 65537, id, 1., toNullable(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 SELECT 65537, toLowCardinality(1.), toLowCardinality(10), 5, 1, toLowCardinality(toUInt128(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 716 out of 1000 SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(toUInt128(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 717 out of 1000 SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(toUInt128(0)), 6, 1048576, toNullable(toInt128(1024)), 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 718 out of 1000 SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(toUInt128(0)), 6, toNullable(1048576), toInt128(1024), 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(0), 6, toNullable(1048576), toInt128(toLowCardinality(toInt128(toInt256(65535))), 1024), toNullable(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Error on processing query 'SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(0), 6, toNullable(1048576), toInt128(toLowCardinality(toInt128(toInt256(65535))), 1024), toNullable(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(0), 6, toNullable(1048576), toInt128(toLowCardinality(toInt128(toInt256(65535))), 1024), toNullable(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071b92db 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 720 out of 1000 SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(toUInt128(0)), 6, toNullable(1048576), toInt128(1024), 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 721 out of 1000 SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(toUInt128(0)), 6, toNullable(1048576), toInt128(1024), 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 PREWHERE 0. GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Error on processing query 'SELECT 65537, toLowCardinality(1.), 10, 5, 1, toLowCardinality(toUInt128(0)), 6, toNullable(1048576), toInt128(1024), 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 PREWHERE 0. GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_unsigned_values__fuzz_1 (043487e8-e5b1-4400-83c5-667175ce5de4)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 722 out of 1000 SELECT 65537, toLowCardinality(materialize(1.)), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 723 out of 1000 SELECT 65537, toLowCardinality(materialize(1.)), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 724 out of 1000 SELECT 65537, toLowCardinality(materialize(test_table_unsigned_values__fuzz_36, 1.)), 10, 5, 1, toUInt128(0), 6, 1048576, 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, toNullable(materialize(1)) DESC Error on processing query 'SELECT 65537, toLowCardinality(materialize(test_table_unsigned_values__fuzz_36, 1.)), 10, 5, 1, toUInt128(0), 6, 1048576, 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, toNullable(materialize(1)) DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_36' in scope SELECT 65537, toLowCardinality(materialize(test_table_unsigned_values__fuzz_36, 1.)), 10, 5, 1, toUInt128(0), 6, 1048576, 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, toNullable(materialize(1)) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 725 out of 1000 SELECT 65537, toLowCardinality(materialize(1.)), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Error on processing query 'SELECT 65537, toLowCardinality(materialize(1.)), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 726 out of 1000 SELECT 65537, toLowCardinality(materialize(1.)), 10, 5, 1, toUInt128(t__fuzz_40, 0), 6, toNullable(1048576), 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC Error on processing query 'SELECT 65537, toLowCardinality(materialize(1.)), 10, 5, 1, toUInt128(t__fuzz_40, 0), 6, toNullable(1048576), 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_40' in scope SELECT 65537, toLowCardinality(materialize(1.)), 10, 5, 1, toUInt128(t__fuzz_40, 0), 6, toNullable(1048576), 1024, materialize(65537), id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 727 out of 1000 SELECT 65537, materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 SELECT 65537, materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 SELECT 65537, materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 SELECT 65537, materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 731 out of 1000 SELECT 65537, materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 732 out of 1000 SELECT 65537, materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, toDecimal64(toLowCardinality(1.), 14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 EXPLAIN PIPELINE SELECT materialize(65537), materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 734 out of 1000 EXPLAIN PIPELINE SELECT materialize(65537), materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Got boring AST Fuzzing step 735 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 EXPLAIN QUERY TREE SELECT materialize(65537), materialize(1.), 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Got boring AST Fuzzing step 737 out of 1000 SELECT materialize(65537), 1., 10, 5, 1, toUInt128(0), 6, toNullable(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 SELECT materialize(65537), 1., 10, 5, materialize(1), toUInt128(0), 6, 1048576, 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) ASC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 SELECT 65537, 1., 10, 5, materialize(1), toUInt128(0), 6, 1048576, 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 740 out of 1000 SELECT 65537, 1., 10, 5, materialize(1), toUInt128(0), 6, materialize(toNullable(toInt128(1048576))), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 SELECT 65537, 1., 10, 5, materialize(1), toUInt128(0), 6, materialize(toInt128(1048576)), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 742 out of 1000 SELECT 65537, 1., 10, 5, materialize(1), toUInt128(0), 6, materialize(toInt128(1048576)), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY materialize(toNullable(1., 62), toInt128(65535)) ASC, toNullable(toNullable(65537)) DESC, toNullable(materialize(1)) DESC NULLS FIRST Error on processing query 'SELECT 65537, 1., 10, 5, materialize(1), toUInt128(0), 6, materialize(toInt128(1048576)), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY materialize(toNullable(1., 62), toInt128(65535)) ASC, toNullable(toNullable(65537)) DESC, toNullable(materialize(1)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65537, 1., 10, 5, materialize(1), toUInt128(0), 6, materialize(toInt128(1048576)), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY materialize(toNullable(1., 62), toInt128(65535)) ASC, toNullable(toNullable(65537)) DESC, toNullable(materialize(1)) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 743 out of 1000 SELECT 65537, 1., 10, 5, materialize(1), toUInt128(0), 6, materialize(toInt128(1048576)), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 SELECT 65537, 1., 10, 5, 1, toUInt128(0), 6, materialize(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 SELECT 65537, 1., 10, 5, 1, toUInt128(0), 6, materialize(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 746 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, materialize(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, materialize(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 748 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, materialize(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 749 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, materialize(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 750 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, materialize(1048576), 1024, 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toNullable(65537)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, materialize(1048576), 1024, toLowCardinality(65537), id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 753 out of 1000 SELECT 65537, 1., 10, 5, toUInt128(1), 0, 6, 1048576, 1024, 65537, id, toNullable(1.), 14, toLowCardinality(t, 1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Error on processing query 'SELECT 65537, 1., 10, 5, toUInt128(1), 0, 6, 1048576, 1024, 65537, id, toNullable(1.), 14, toLowCardinality(t, 1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't' in scope SELECT 65537, 1., 10, 5, toUInt128(1), 0, 6, 1048576, 1024, 65537, id, toNullable(1.), 14, toLowCardinality(t, 1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 754 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 755 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 756 out of 1000 SELECT 65537, 1., 10, toUInt128(5), 1, 0, 6, 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 757 out of 1000 SELECT 65537, 1., 10, toUInt128(5), 1, 0, 6, 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 SELECT 65537, 1., 10, toUInt128(5), 1, 0, 6, 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 SELECT 65537, 1., 10, toUInt128(5), 1, 0, 6, 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Error on processing query 'SELECT 65537, 1., 10, toUInt128(5), 1, 0, 6, 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toNullable(materialize(1)) DESC': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 760 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 761 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 SELECT 65537, 1., 10, toUInt128(5), 1, 0, 6, 1048576, toInt128(1024), 65537, id, 1., 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 PREWHERE toLowCardinality(toLowCardinality(toUInt256(10))) GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST Error on processing query 'SELECT 65537, 1., 10, toUInt128(5), 1, 0, 6, 1048576, toInt128(1024), 65537, id, 1., 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_0 PREWHERE toLowCardinality(toLowCardinality(toUInt256(10))) GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_unsigned_values__fuzz_0 (c4b70ac4-f6ee-4076-aba6-791886b5183d)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 763 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 764 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 766 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 767 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 768 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 769 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 770 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 771 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 772 out of 1000 EXPLAIN SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Got boring AST Fuzzing step 773 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, toNullable(1.), 14, toLowCardinality(1.), materialize(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 SELECT 65537, 1., 10, toUInt128(5), 1, 0, toLowCardinality(6), 1048576, toLowCardinality(62), toInt128(1024), 65537, id, 1., 14, toLowCardinality(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 778 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, toLowCardinality(6), 1048576, toInt128(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, toLowCardinality(6), 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 780 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, toLowCardinality(6), 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 783 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('toInt256'): toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 784 out of 1000 EXPLAIN QUERY TREE SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 785 out of 1000 EXPLAIN AST SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 786 out of 1000 EXPLAIN SYNTAX SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 EXPLAIN SYNTAX SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, toNullable(1024), 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 788 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(toNullable(0)), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 789 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 790 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 791 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 792 out of 1000 SELECT toInt256(test_table_unsigned_values__fuzz_24, 65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC Error on processing query 'SELECT toInt256(test_table_unsigned_values__fuzz_24, 65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_24' in scope SELECT toInt256(test_table_unsigned_values__fuzz_24, 65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 793 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 SELECT toInt256(toNullable(toInt128(toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toInt128(65537))), 65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST Error on processing query 'SELECT toInt256(toNullable(toInt128(toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toInt128(65537))), 65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT toInt256(toNullable(toInt128(toLowCardinality(toNullable(toLowCardinality(materialize(65537)))), toInt128(65537))), 65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000071b9440 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 17. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 20. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 21. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 22. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 23. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 26. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 27. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 29. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 30. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 Fuzzing step 796 out of 1000 SELECT toInt256(toInt256(65537)), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, toLowCardinality(1.), 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 797 out of 1000 EXPLAIN PIPELINE compact = true SELECT toInt256(65537), 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, toLowCardinality(1.), 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toInt256(65537), 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, toLowCardinality(1.), 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(materialize(1)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 798 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., toUInt128(14), 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 800 out of 1000 SELECT toInt256(65537), 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., toUInt128(14), 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 SELECT 65537, 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., toUInt128(14), 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 802 out of 1000 SELECT 65537, 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., toUInt128(14), 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Got boring AST Fuzzing step 803 out of 1000 SELECT 65537, 1., 10, 5, 1, toLowCardinality(0), 6, 1048576, 1024, 65537, id, 1., toUInt128(14), 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 SELECT 65537, 1., 10, 5, 1, toLowCardinality(0), 6, toLowCardinality(1048576), 1024, 65537, id, 1., toUInt128(14), 1., 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 805 out of 1000 SELECT 65537, 1., 10, 5, 1, toLowCardinality(0), 6, toLowCardinality(1048576), 1024, 65537, id, 1., 14, 1., 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 806 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, toLowCardinality(1048576), 1024, 65537, id, 1., 14, 1., 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 807 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, toLowCardinality(1048576), 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 808 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 810 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 811 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 812 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 813 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS FIRST, toNullable(materialize(1)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 814 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS FIRST, toNullable(materialize(1)) ASC NULLS FIRST Got boring AST Fuzzing step 815 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 816 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 818 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, materialize(1.), 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 819 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, materialize(test_table_unsigned_values__fuzz_6, 2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Error on processing query 'SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, materialize(test_table_unsigned_values__fuzz_6, 2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_6' in scope SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, 1., 14, materialize(test_table_unsigned_values__fuzz_6, 2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 820 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, 65537, id, 1., 14, materialize(1.), 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 821 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1), 65537, id, 1., 14, materialize(1.), 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1), toNullable(65537), id, 1., 14, materialize(1.), 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 823 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1), toNullable(65537), id, 1., 14, materialize(1.), 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS FIRST Got boring AST Fuzzing step 824 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, materialize(2147483646) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 825 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, materialize(toLowCardinality(2147483646)) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, materialize(toLowCardinality(2147483646)) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 827 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, 1., 14, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC Error on processing query 'SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, 1., 14, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC': Received from localhost:9000. DB::Exception: Column default.test_table_unsigned_values__fuzz_0.id is not under aggregate function and not in GROUP BY keys. In query SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, 1., 14, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 828 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, 6, 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, materialize(toLowCardinality(2147483646)) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 829 out of 1000 SELECT 65537, 1., 10, materialize(5), 1, 0, toUInt128(6), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, toUInt128(6), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, toLowCardinality(2147483646) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 833 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 834 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 835 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 836 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 837 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 838 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 839 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 840 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 841 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 842 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 843 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 844 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 845 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 846 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65537'): 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 847 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 848 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 849 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 850 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 851 out of 1000 EXPLAIN SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 852 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 853 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 854 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 855 out of 1000 EXPLAIN SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 EXPLAIN SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 857 out of 1000 EXPLAIN SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 858 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 ('65537'): 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPE. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 860 out of 1000 EXPLAIN SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 862 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 EXPLAIN PIPELINE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 864 out of 1000 EXPLAIN QUERY TREE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 865 out of 1000 EXPLAIN SYNTAX SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 EXPLAIN ESTIMATE SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 868 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 ('65537'): 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPE. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 869 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 870 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 871 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 872 out of 1000 EXPLAIN AST SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Got boring AST Fuzzing step 873 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS FIRST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 874 out of 1000 SELECT 65537, 1., toUInt256(10), 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC NULLS LAST, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 875 out of 1000 SELECT materialize(65537), 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) DESC, toNullable(materialize(1)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 876 out of 1000 SELECT materialize(65537), 1., 10, 5, 1, 0, toUInt128(materialize(6)), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), 14, 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC, toNullable(materialize(1)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 877 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, materialize(6), toLowCardinality(1048576), 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), toLowCardinality(14), 2147483646 FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC, toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 878 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, materialize(6), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), toLowCardinality(14), toLowCardinality(toInt128(2147483646)) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC, toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, materialize(6), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, materialize(1.), toLowCardinality(14), toLowCardinality(toInt128(2147483646)) FROM test_table_unsigned_values__fuzz_0 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC, toNullable(materialize(1)) ASC Query succeeded, using this AST as a start Fuzzing step 880 out of 1000 SELECT 65537, 1., 10, 5, 1, 0, materialize(6), 1048576, 1024, any(value1) RESPECT NULLS, 65537, id, 1., 14, 1., toLowCardinality(14), toLowCardinality(toInt128(2147483646)) FROM test_table_unsigned_values__fuzz_1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toInt256(2147483646)) ASC NULLS LAST, materialize(toNullable(65535)) ASC, toNullable(materialize(1)) ASC Current AST is too long, discarding it and using the original AST as a start Fuzzing step 881 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY 38 ASC NULLS LAST, id ASC NULLS FIRST Error on processing query 'SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY 38 ASC NULLS LAST, id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Positional argument number 38 is out of bounds. Expected in range [1, 5]. In scope SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY 38 ASC NULLS LAST, id ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 882 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 883 out of 1000 SELECT id, any(materialize(toNullable(1)), value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id DESC NULLS FIRST Error on processing query 'SELECT id, any(materialize(toNullable(1)), value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be260 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 884 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 885 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 886 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 887 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 888 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 889 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 890 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 891 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS FIRST Got boring AST Fuzzing step 892 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 893 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 894 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Got boring AST Fuzzing step 895 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 896 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 897 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH TOTALS ORDER BY id ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 898 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 899 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 900 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC, id ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 901 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC, id DESC NULLS LAST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC, id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLo. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 902 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(1024, value2) IGNORE NULLS, any(value3), any(toInt256(2147483646), value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC, id ASC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, any(1024, value2) IGNORE NULLS, any(value3), any(toInt256(2147483646), value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC, id ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 903 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 904 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 905 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 906 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 908 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 910 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC NULLS LAST Got boring AST Fuzzing step 912 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC NULLS LAST Got boring AST Fuzzing step 913 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 914 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Got boring AST Fuzzing step 916 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Got boring AST Fuzzing step 917 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Got boring AST Fuzzing step 918 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 919 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Got boring AST Fuzzing step 921 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 923 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 924 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 925 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column default.test_table_unsigned_values__fuzz_1.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 927 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 928 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Got boring AST Fuzzing step 929 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Got boring AST Fuzzing step 930 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 931 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) DESC Query succeeded, using this AST as a start Fuzzing step 933 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 934 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 935 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 936 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 937 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 938 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Got boring AST Fuzzing step 939 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY test_table_unsigned_values__fuzz_2 ASC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY test_table_unsigned_values__fuzz_2 ASC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_2' in scope SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY test_table_unsigned_values__fuzz_2 ASC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 940 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 942 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 943 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 944 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 945 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC Query succeeded, using this AST as a start Fuzzing step 947 out of 1000 SELECT any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) ASC NULLS FIRST, toLowCardinality(toNullable(2147483646)) DESC Query succeeded, using this AST as a start Fuzzing step 948 out of 1000 SELECT any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) ASC NULLS FIRST, toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 949 out of 1000 SELECT any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 950 out of 1000 SELECT any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 951 out of 1000 SELECT any(toLowCardinality(toLowCardinality(toNullable(2147483646))), value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS FIRST, toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Error on processing query 'SELECT any(toLowCardinality(toLowCardinality(toNullable(2147483646))), value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS FIRST, toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 952 out of 1000 SELECT any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 SELECT any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 954 out of 1000 SELECT any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 SELECT any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(toDecimal128(1., 29), value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) DESC NULLS LAST Error on processing query 'SELECT any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(toDecimal128(1., 29), value3), any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be260 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 956 out of 1000 SELECT any(value1), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 957 out of 1000 SELECT any(value1), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS FIRST, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 958 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 GROUP BY id WITH ROLLUP ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 959 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) DESC NULLS LAST, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 960 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) DESC, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 961 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(materialize(toInt256(toNullable(1))), value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(1) DESC, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Error on processing query 'SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(materialize(toInt256(toNullable(1))), value4) RESPECT NULLS FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(1) DESC, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 962 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(1) DESC, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 963 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 964 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 965 out of 1000 SELECT any(value1) IGNORE NULLS, any(test_table_unsigned_values__fuzz_23, value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST Error on processing query 'SELECT any(value1) IGNORE NULLS, any(test_table_unsigned_values__fuzz_23, value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_23' in scope SELECT any(value1) IGNORE NULLS, any(test_table_unsigned_values__fuzz_23, value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 966 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 967 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 968 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 969 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 970 out of 1000 EXPLAIN TABLE OVERRIDE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('any'): any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCard. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 971 out of 1000 EXPLAIN QUERY TREE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 972 out of 1000 EXPLAIN QUERY TREE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 973 out of 1000 EXPLAIN QUERY TREE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 974 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('any'): any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCard. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 975 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('any'): any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCard. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 976 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 977 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 978 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 979 out of 1000 EXPLAIN SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 980 out of 1000 EXPLAIN SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 981 out of 1000 EXPLAIN SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 982 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 983 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 984 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 985 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 986 out of 1000 EXPLAIN PIPELINE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 987 out of 1000 EXPLAIN AST SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 EXPLAIN ESTIMATE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 EXPLAIN ESTIMATE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 990 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 991 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC NULLS FIRST Got boring AST Fuzzing step 992 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) DESC Got boring AST Fuzzing step 994 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 995 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 996 out of 1000 EXPLAIN TABLE OVERRIDE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('any'): any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCard. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 997 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 998 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_0 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC Got boring AST Fuzzing step 999 out of 1000 SELECT any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS, any(value4) FROM test_table_unsigned_values__fuzz_1 WITH TOTALS ORDER BY toLowCardinality(1) ASC, toLowCardinality(toNullable(2147483646)) ASC Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_0 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_1 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_2 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_3 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_4 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_5 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_6 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_7 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_8 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_9 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_10 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_11 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_12 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_13 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_14 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_15 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_16 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_17 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_18 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_19 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_20 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_21 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_22 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_23 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_24 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_25 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_26 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_27 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_28 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_29 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_30 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_31 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_32 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_33 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_34 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_35 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_36 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_37 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_38 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_39 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_40 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_41 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_42 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_43 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_44 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_45 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_46 DROP TABLE IF EXISTS test_table_unsigned_values__fuzz_47 Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT materialize('Test signed integer values') WHERE materialize(65537) Error on processing query 'SELECT materialize('Test signed integer values') WHERE materialize(65537)': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column materialize(65537_UInt32) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 19. ? @ 0x00007ffa70350ac3 20. ? @ 0x00007ffa703e2850 Fuzzing step 2 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 3 out of 1000 SELECT 'Test signed integer values' GROUP BY materialize(toNullable(1048576)), toUInt128(toNullable(1)), t__fuzz_45, 8 Error on processing query 'SELECT 'Test signed integer values' GROUP BY materialize(toNullable(1048576)), toUInt128(toNullable(1)), t__fuzz_45, 8': Received from localhost:9000. DB::Exception: Positional argument number 8 is out of bounds. Expected in range [1, 1]. In scope SELECT 'Test signed integer values' GROUP BY materialize(toNullable(1048576)), toUInt128(toNullable(1)), t__fuzz_45, 8. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 4 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 5 out of 1000 SELECT t__fuzz_25, 'Test signed integer values' WHERE toNullable(5) Error on processing query 'SELECT t__fuzz_25, 'Test signed integer values' WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_25' in scope SELECT t__fuzz_25, 'Test signed integer values' WHERE toNullable(5). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 6 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 7 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 8 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 9 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 10 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(materialize(5)) Query succeeded, using this AST as a start Fuzzing step 11 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(materialize(5)) Got boring AST Fuzzing step 12 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(materialize(5)) Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(materialize(5)) Got boring AST Fuzzing step 14 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(materialize(5)) Got boring AST Fuzzing step 15 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(materialize(5)) Got boring AST Fuzzing step 16 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(materialize(toLowCardinality(materialize(toNullable(65537)))), materialize(5)) Error on processing query 'SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(materialize(toLowCardinality(materialize(toNullable(65537)))), materialize(5))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(materialize(toLowCardinality(materialize(toNullable(65537)))), materialize(5)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 17 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(toLowCardinality(toInt128(toInt256(65535))), 5) Error on processing query 'SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(toLowCardinality(toInt128(toInt256(65535))), 5)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(toLowCardinality(toInt128(toInt256(65535))), 5). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 18 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(materialize(5)) Got boring AST Fuzzing step 19 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(5) Got boring AST Fuzzing step 21 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(5) Got boring AST Fuzzing step 22 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(5) Got boring AST Fuzzing step 23 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(5) Got boring AST Fuzzing step 24 out of 1000 SELECT materialize(toLowCardinality('Test signed integer values')) WHERE toNullable(5) Got boring AST Fuzzing step 25 out of 1000 SELECT materialize('Test signed integer values') WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 26 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT materialize('Test signed integer values') WHERE toNullable(5) Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT materialize('Test signed integer values') WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 27 out of 1000 SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 28 out of 1000 EXPLAIN SYNTAX SELECT materialize('Test signed integer values') WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 EXPLAIN SYNTAX SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 30 out of 1000 EXPLAIN SYNTAX SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 31 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('materialize'): materialize('Test signed integer values') WHERE toNullable(5). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 32 out of 1000 EXPLAIN SYNTAX SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 33 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize('Test signed integer values') WHERE toNullable(5) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize('Test signed integer values') WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('materialize'): materialize('Test signed integer values') WHERE toNullable(5). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 34 out of 1000 EXPLAIN SYNTAX SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 35 out of 1000 EXPLAIN QUERY TREE SELECT materialize('Test signed integer values') WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('materialize'): materialize('Test signed integer values') WHERE toNullable(5). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 37 out of 1000 EXPLAIN QUERY TREE SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 38 out of 1000 EXPLAIN QUERY TREE SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 39 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('materialize'): materialize('Test signed integer values') WHERE toNullable(5). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 40 out of 1000 EXPLAIN QUERY TREE SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 41 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('materialize'): materialize('Test signed integer values') WHERE toNullable(5). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 42 out of 1000 EXPLAIN QUERY TREE SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 43 out of 1000 EXPLAIN TABLE OVERRIDE SELECT materialize('Test signed integer values') WHERE toNullable(5) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT materialize('Test signed integer values') WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('materialize'): materialize('Test signed integer values') WHERE toNullable(5). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 44 out of 1000 EXPLAIN SELECT materialize('Test signed integer values') WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 45 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT materialize('Test signed integer values') WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('materialize'): materialize('Test signed integer values') WHERE toNullable(5). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 46 out of 1000 SELECT materialize('Test signed integer values') WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 47 out of 1000 SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 48 out of 1000 SELECT materialize('Test signed integer values') WHERE toNullable(5) Got boring AST Fuzzing step 49 out of 1000 SELECT materialize('Test signed integer values') PREWHERE 65535 WHERE toNullable(5) Error on processing query 'SELECT materialize('Test signed integer values') PREWHERE 65535 WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 50 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 52 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 53 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 54 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 55 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 56 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 57 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 58 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 59 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 60 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 61 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 62 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 63 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 64 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 65 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(toNullable(5)) Query succeeded, using this AST as a start Fuzzing step 66 out of 1000 SELECT 'Test signed integer values' PREWHERE materialize(toLowCardinality(toInt128(65537))) WHERE toNullable(toNullable(toLowCardinality(5))) Error on processing query 'SELECT 'Test signed integer values' PREWHERE materialize(toLowCardinality(toInt128(65537))) WHERE toNullable(toNullable(toLowCardinality(5)))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 67 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(toNullable(5)) Got boring AST Fuzzing step 68 out of 1000 SELECT any(value3) IGNORE NULLS, 'Test signed integer values' WHERE toNullable(toNullable(5)) Error on processing query 'SELECT any(value3) IGNORE NULLS, 'Test signed integer values' WHERE toNullable(toNullable(5))': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'value3' in scope SELECT any(value3) IGNORE NULLS, 'Test signed integer values' WHERE toNullable(toNullable(5)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 69 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(materialize(toDecimal64(1., 14)), toNullable(5)) Error on processing query 'SELECT 'Test signed integer values' WHERE toNullable(materialize(toDecimal64(1., 14)), toNullable(5))': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 'Test signed integer values' WHERE toNullable(materialize(toDecimal64(1., 14)), toNullable(5)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 70 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(toNullable(5)) Got boring AST Fuzzing step 71 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(toNullable(5)) Got boring AST Fuzzing step 72 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 73 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 74 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(toNullable(28), 5) Error on processing query 'SELECT 'Test signed integer values' WHERE toNullable(toNullable(28), 5)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 'Test signed integer values' WHERE toNullable(toNullable(28), 5). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 75 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 76 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 77 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 78 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 79 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 80 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 81 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 82 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 83 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 84 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 85 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 86 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 87 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 88 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 90 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 91 out of 1000 EXPLAIN SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 92 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 93 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 94 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values' WHERE toNullable(5) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values' WHERE toNullable(5)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 (''Test signed integer values''): 'Test signed integer values' WHERE toNullable(5). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 95 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 96 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 98 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 99 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 100 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 101 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 102 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 103 out of 1000 SELECT 'Test signed integer values' WHERE toNullable(5) Got boring AST Fuzzing step 104 out of 1000 SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 105 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 106 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 107 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 108 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 109 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 110 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 111 out of 1000 EXPLAIN SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 EXPLAIN SELECT 'Test signed integer values' Got boring AST Fuzzing step 113 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values' Got boring AST Fuzzing step 115 out of 1000 SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 117 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 118 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 119 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 120 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 121 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 122 out of 1000 SELECT 'Test signed integer values' GROUP BY t__fuzz_2, toLowCardinality(toLowCardinality(10)), t__fuzz_0, materialize(toDecimal32(1., toInt128(256), 0)) Error on processing query 'SELECT 'Test signed integer values' GROUP BY t__fuzz_2, toLowCardinality(toLowCardinality(10)), t__fuzz_0, materialize(toDecimal32(1., toInt128(256), 0))': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_2' in scope SELECT 'Test signed integer values' GROUP BY t__fuzz_2, toLowCardinality(toLowCardinality(10)), t__fuzz_0, materialize(toDecimal32(1., toInt128(256), 0)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 123 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 124 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 125 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 126 out of 1000 SELECT toLowCardinality('Test signed integer values') Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 SELECT toLowCardinality('Test signed integer values') Got boring AST Fuzzing step 128 out of 1000 SELECT toLowCardinality('Test signed integer values') Got boring AST Fuzzing step 129 out of 1000 SELECT toLowCardinality('Test signed integer values') Got boring AST Fuzzing step 130 out of 1000 SELECT toLowCardinality('Test signed integer values') Got boring AST Fuzzing step 131 out of 1000 SELECT toLowCardinality('Test signed integer values') Got boring AST Fuzzing step 132 out of 1000 SELECT toLowCardinality('Test signed integer values') Got boring AST Fuzzing step 133 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 134 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values' Got boring AST Fuzzing step 135 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values' Got boring AST Fuzzing step 136 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 137 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' Got boring AST Fuzzing step 138 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''Test signed integer values''): 'Test signed integer values'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 139 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' Got boring AST Fuzzing step 140 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' Got boring AST Fuzzing step 141 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' Got boring AST Fuzzing step 142 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values' Got boring AST Fuzzing step 143 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values' Got boring AST Fuzzing step 145 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values' Got boring AST Fuzzing step 146 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''Test signed integer values''): 'Test signed integer values'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 147 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values' Got boring AST Fuzzing step 148 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 149 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' Got boring AST Fuzzing step 150 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' Got boring AST Fuzzing step 151 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values' Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 35 (''Test signed integer values''): 'Test signed integer values'. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 152 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' Got boring AST Fuzzing step 153 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' Got boring AST Fuzzing step 154 out of 1000 EXPLAIN AST SELECT 'Test signed integer values' Got boring AST Fuzzing step 155 out of 1000 EXPLAIN ESTIMATE SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 156 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values' Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values'': Received from localhost:9000. DB::Exception: Syntax error: failed at position 40 (''Test signed integer values''): 'Test signed integer values'. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 157 out of 1000 SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 159 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 160 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 161 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 162 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 163 out of 1000 SELECT toNullable('Test signed integer values') Query succeeded, using this AST as a start Fuzzing step 164 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 165 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 166 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 167 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 168 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 169 out of 1000 SELECT toNullable(materialize('Test signed integer values')) Query succeeded, using this AST as a start Fuzzing step 170 out of 1000 SELECT toNullable('Test signed integer values') Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 172 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 173 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 174 out of 1000 SELECT toNullable('Test signed integer values') GROUP BY toLowCardinality(toLowCardinality(10)), test_table_unsigned_values__fuzz_19 Error on processing query 'SELECT toNullable('Test signed integer values') GROUP BY toLowCardinality(toLowCardinality(10)), test_table_unsigned_values__fuzz_19': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_19' in scope SELECT toNullable('Test signed integer values') GROUP BY toLowCardinality(toLowCardinality(10)), test_table_unsigned_values__fuzz_19. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 175 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 176 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 177 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 178 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 179 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 180 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 181 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 182 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 183 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 184 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 185 out of 1000 SELECT toNullable('Test signed integer values') PREWHERE toNullable(materialize(1)) Error on processing query 'SELECT toNullable('Test signed integer values') PREWHERE toNullable(materialize(1))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 186 out of 1000 SELECT toNullable('Test signed integer values') Got boring AST Fuzzing step 187 out of 1000 SELECT 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 188 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 189 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 190 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 191 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 192 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 193 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 194 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 195 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 196 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 197 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 198 out of 1000 SELECT 'Test signed integer values' WHERE toLowCardinality(toNullable(toNullable(65537))) Error on processing query 'SELECT 'Test signed integer values' WHERE toLowCardinality(toNullable(toNullable(65537)))': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt32) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 199 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 200 out of 1000 SELECT 'Test signed integer values' PREWHERE toLowCardinality(toLowCardinality(1)) Error on processing query 'SELECT 'Test signed integer values' PREWHERE toLowCardinality(toLowCardinality(1))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 201 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 202 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 203 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 204 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 205 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 206 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 207 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 208 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 209 out of 1000 SELECT 'Test signed integer values' Got boring AST Fuzzing step 210 out of 1000 SELECT 'Test signed integer values' GROUP BY test_table_unsigned_values__fuzz_35 Error on processing query 'SELECT 'Test signed integer values' GROUP BY test_table_unsigned_values__fuzz_35': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_35' in scope SELECT 'Test signed integer values' GROUP BY test_table_unsigned_values__fuzz_35. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 211 out of 1000 SELECT materialize(28), 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 SELECT 28, 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 214 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 215 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 216 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 217 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 218 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 219 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 220 out of 1000 EXPLAIN QUERY TREE run_passes = true SELECT 28, 'Test signed integer values' Error on processing query 'EXPLAIN QUERY TREE run_passes = true SELECT 28, 'Test signed integer values'': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "run_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 221 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 222 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 223 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 224 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 225 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 226 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 227 out of 1000 EXPLAIN PIPELINE header = true SELECT 28, 'Test signed integer values' WHERE materialize(toInt128(1048576)) Error on processing query 'EXPLAIN PIPELINE header = true SELECT 28, 'Test signed integer values' WHERE materialize(toInt128(1048576))': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 228 out of 1000 SELECT 28, 'Test signed integer values' PREWHERE toInt128(toNullable(65537)) Error on processing query 'SELECT 28, 'Test signed integer values' PREWHERE toInt128(toNullable(65537))': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 229 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 230 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 231 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 232 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 233 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 234 out of 1000 SELECT 28, 'Test signed integer values' PREWHERE toNullable('Test unsigned integer values', 28) Error on processing query 'SELECT 28, 'Test signed integer values' PREWHERE toNullable('Test unsigned integer values', 28)': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 28, 'Test signed integer values' PREWHERE toNullable('Test unsigned integer values', 28). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 235 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 236 out of 1000 SELECT 28, materialize(toLowCardinality('Test signed integer values')) Query succeeded, using this AST as a start Fuzzing step 237 out of 1000 SELECT 28, materialize('Test signed integer values') Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT 28, materialize('Test signed integer values') Got boring AST Fuzzing step 239 out of 1000 SELECT 28, materialize('Test signed integer values') Got boring AST Fuzzing step 240 out of 1000 SELECT 28, materialize('Test signed integer values') Got boring AST Fuzzing step 241 out of 1000 SELECT 28, materialize(toNullable(2147483646), 'Test signed integer values') Error on processing query 'SELECT 28, materialize(toNullable(2147483646), 'Test signed integer values')': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 28, materialize(toNullable(2147483646), 'Test signed integer values'). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 242 out of 1000 SELECT 28, 'Test signed integer values' Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 244 out of 1000 SELECT 28, t__fuzz_32, 'Test signed integer values' Error on processing query 'SELECT 28, t__fuzz_32, 'Test signed integer values'': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_32' in scope SELECT 28, t__fuzz_32, 'Test signed integer values'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 245 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 246 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 247 out of 1000 SELECT 28, 'Test signed integer values' Got boring AST Fuzzing step 248 out of 1000 SELECT 28, toFixedString('Test signed integer values', 26) Query succeeded, using this AST as a start Fuzzing step 249 out of 1000 SELECT 28, 'Test signed integer values', 26 Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 SELECT 28, 'Test signed integer values', 26 Got boring AST Fuzzing step 251 out of 1000 SELECT 28, 'Test signed integer values', 26 Got boring AST Fuzzing step 252 out of 1000 SELECT 28, 'Test signed integer values', 26 Got boring AST Fuzzing step 253 out of 1000 SELECT 28, 'Test signed integer values', 26 Got boring AST Fuzzing step 254 out of 1000 SELECT 28, 'Test signed integer values', 26 Got boring AST Fuzzing step 255 out of 1000 SELECT 28, 'Test signed integer values', 26 Got boring AST Fuzzing step 256 out of 1000 SELECT 28, 'Test signed integer values', 26 Got boring AST Fuzzing step 257 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(toLowCardinality(toInt128(2147483646))), materialize(toNullable(28)), toLowCardinality(toInt128(2147483646)) Query succeeded, using this AST as a start Fuzzing step 258 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(toInt128(2147483646)), materialize(toNullable(28)), toLowCardinality(toInt128(2147483646)) Query succeeded, using this AST as a start Fuzzing step 259 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(toInt128(2147483646)), materialize(toNullable(28)), toLowCardinality(toInt128(2147483646)) Got boring AST Fuzzing step 260 out of 1000 SELECT 28, 'Test signed integer values', 26 WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 261 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646)) Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY 2147483646, toNullable(28), toLowCardinality(toInt128(2147483646)) Error on processing query 'SELECT 28, 'Test signed integer values', 26 GROUP BY 2147483646, toNullable(28), toLowCardinality(toInt128(2147483646))': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 28, 'Test signed integer values', 26 GROUP BY 2147483646, toNullable(28), toLowCardinality(toInt128(2147483646)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 263 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646)) Got boring AST Fuzzing step 264 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646)) Got boring AST Fuzzing step 265 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646)) Got boring AST Fuzzing step 266 out of 1000 SELECT 28, 'Test signed integer values', 26 WHERE toDecimal64(1., 10) GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646)) Error on processing query 'SELECT 28, 'Test signed integer values', 26 WHERE toDecimal64(1., 10) GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646))': Received from localhost:9000. DB::Exception: Illegal type Decimal64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 267 out of 1000 SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(2147483646), 28, toLowCardinality(toInt128(2147483646)) Error on processing query 'SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(2147483646), 28, toLowCardinality(toInt128(2147483646))': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 28, 'Test signed integer values', 26 GROUP BY toNullable(2147483646), 28, toLowCardinality(toInt128(2147483646)). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 268 out of 1000 SELECT 28, toFixedString('Test signed integer values', 26), 26 GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646)) Query succeeded, using this AST as a start Fuzzing step 269 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646)) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 SELECT 28, materialize('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toLowCardinality(toInt128(2147483646)) WITH ROLLUP Error on processing query 'SELECT 28, materialize('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toLowCardinality(toInt128(2147483646)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, materialize('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toLowCardinality(toInt128(2147483646)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 271 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toLowCardinality(toInt128(2147483646)) WITH ROLLUP Got boring AST Fuzzing step 272 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, 28, toLowCardinality(toInt128(2147483646)) WITH ROLLUP Error on processing query 'SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, 28, toLowCardinality(toInt128(2147483646)) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, 28, toLowCardinality(toInt128(2147483646)) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 273 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP Error on processing query 'SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 275 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 276 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 277 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY GROUPING SETS ( (toNullable(2147483646)), (28), (toInt128(2147483646))) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY GROUPING SETS ((toNullable(2147483646)), (28), (toInt128(2147483646))) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103acda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 278 out of 1000 SELECT materialize(toNullable(1.), 28), 28, toLowCardinality('Test signed integer values'), 26, 26 WITH TOTALS Error on processing query 'SELECT materialize(toNullable(1.), 28), 28, toLowCardinality('Test signed integer values'), 26, 26 WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT materialize(toNullable(1.), 28), 28, toLowCardinality('Test signed integer values'), 26, 26 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 279 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 280 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 281 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 282 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(test_table_unsigned_values__fuzz_16, 2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(test_table_unsigned_values__fuzz_16, 2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(test_table_unsigned_values__fuzz_16, 2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 283 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 284 out of 1000 SELECT toLowCardinality(28), toLowCardinality(toNullable('Test signed integer values')), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 285 out of 1000 SELECT toLowCardinality(28), toLowCardinality(toNullable('Test signed integer values')), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 286 out of 1000 SELECT toLowCardinality(28), toNullable('Test signed integer values'), 26, 26 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(28), toNullable('Test signed integer values'), 26, 26 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toLowCardinality(28), toNullable('Test signed integer values'), 26, 26 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 287 out of 1000 SELECT toLowCardinality(28), toLowCardinality('Test signed integer values'), 26, 26 WHERE materialize(toLowCardinality(1)) GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(28), toLowCardinality('Test signed integer values'), 26, 26 WHERE materialize(toLowCardinality(1)) GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toLowCardinality(28), toLowCardinality('Test signed integer values'), 26, 26 WHERE materialize(toLowCardinality(1)) GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 288 out of 1000 SELECT toLowCardinality(28), toLowCardinality(toNullable('Test signed integer values')), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 289 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 290 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 291 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 292 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 293 out of 1000 SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 294 out of 1000 SELECT 28 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 1]. In scope SELECT 28 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 295 out of 1000 SELECT toNullable(28), toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(28), toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toNullable(28), toLowCardinality('Test signed integer values'), 26, 26 GROUP BY 2147483646, toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 296 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 298 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 299 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 300 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 301 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 302 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 303 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(toLowCardinality(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(toLowCardinality(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(toLowCardinality(2147483646)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 304 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 305 out of 1000 EXPLAIN AST SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 306 out of 1000 EXPLAIN SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('28'): 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 308 out of 1000 EXPLAIN SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 309 out of 1000 EXPLAIN ESTIMATE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 310 out of 1000 EXPLAIN ESTIMATE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 311 out of 1000 EXPLAIN ESTIMATE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 312 out of 1000 EXPLAIN ESTIMATE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 313 out of 1000 EXPLAIN ESTIMATE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 314 out of 1000 EXPLAIN ESTIMATE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 315 out of 1000 EXPLAIN ESTIMATE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 316 out of 1000 EXPLAIN SYNTAX SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 EXPLAIN SYNTAX SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 318 out of 1000 EXPLAIN SYNTAX SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 319 out of 1000 EXPLAIN SYNTAX SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 320 out of 1000 EXPLAIN SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 EXPLAIN SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 322 out of 1000 EXPLAIN SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 323 out of 1000 EXPLAIN QUERY TREE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 324 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 325 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 326 out of 1000 EXPLAIN PIPELINE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 327 out of 1000 EXPLAIN PIPELINE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 328 out of 1000 EXPLAIN PIPELINE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 329 out of 1000 EXPLAIN PIPELINE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 330 out of 1000 EXPLAIN SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 EXPLAIN AST SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 EXPLAIN SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 333 out of 1000 EXPLAIN SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 334 out of 1000 EXPLAIN SYNTAX SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 335 out of 1000 EXPLAIN ESTIMATE SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 336 out of 1000 EXPLAIN SYNTAX SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 337 out of 1000 EXPLAIN AST SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(28), toInt128(toNullable(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 338 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 1048575 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 1048575 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 340 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 341 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 342 out of 1000 SELECT toNullable(toUInt128(t__fuzz_15, 28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(toUInt128(t__fuzz_15, 28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_15' in scope SELECT toNullable(toUInt128(t__fuzz_15, 28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 13. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 343 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 344 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 345 out of 1000 SELECT toUInt128(28), 'Test signed integer values', toLowCardinality(26), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toUInt128(28), 'Test signed integer values', toLowCardinality(26), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toUInt128(28), 'Test signed integer values', toLowCardinality(26), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 346 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 347 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 348 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 349 out of 1000 SELECT toNullable(28), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY 2147483646, toNullable(toUInt256(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(28), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY 2147483646, toNullable(toUInt256(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toNullable(28), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY 2147483646, toNullable(toUInt256(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 350 out of 1000 SELECT toNullable(toUInt128(28)) WHERE 0 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(toUInt128(28)) WHERE 0 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 1]. In scope SELECT toNullable(toUInt128(28)) WHERE 0 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 351 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 352 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 1048577 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE SELECT toNullable(toUInt128(28)), 'Test signed integer values', 26, 26 WHERE 1048577 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:56: DB::InterpreterSelectQueryAnalyzer::extractQueryPlan() && @ 0x000000001164f5ed 10. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001158170e 11. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 353 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 355 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 357 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 358 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 359 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 360 out of 1000 EXPLAIN SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 361 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 362 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 364 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 365 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 366 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 367 out of 1000 EXPLAIN AST SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 368 out of 1000 EXPLAIN TABLE OVERRIDE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('toNullable'): toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), . Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 369 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 370 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(toNullable(26))), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 372 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(26)), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(26)), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(26)), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(toLowCardinality(26)), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 374 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 375 out of 1000 SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH TOTALS Error on processing query 'SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toNullable(toUInt128(28)), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY 2147483646, toNullable(28), toInt128(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 376 out of 1000 SELECT toNullable(28), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT toNullable(28), 'Test signed integer values', materialize(26), 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 378 out of 1000 SELECT toNullable(28), 'Test signed integer values', materialize(26), toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 SELECT 28, 'Test signed integer values', materialize(26), toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 28, 'Test signed integer values', materialize(26), toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 28, 'Test signed integer values', materialize(26), toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 381 out of 1000 SELECT 28, 'Test signed integer values', materialize(26), toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 382 out of 1000 SELECT 28, 'Test signed integer values', materialize(26), toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', materialize(26), toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', materialize(26), toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 383 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 385 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 386 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 387 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(toNullable(28)), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(toNullable(28)), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, 26 WHERE 0 GROUP BY toNullable(2147483646), toNullable(toNullable(28)), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 388 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY GROUPING SETS ( (2147483646), (toNullable(28)), (toInt128(2147483646))) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY GROUPING SETS ((2147483646), (toNullable(28)), (toInt128(2147483646))) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103acda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 389 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 390 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 391 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 392 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(materialize(2147483646)), toNullable(test_table_unsigned_values__fuzz_42, 28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(materialize(2147483646)), toNullable(test_table_unsigned_values__fuzz_42, 28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_42' in scope SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(materialize(2147483646)), toNullable(test_table_unsigned_values__fuzz_42, 28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 393 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 394 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 395 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(toNullable(2147483646)), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 396 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(toNullable(2147483646)), toNullable(28), toInt128(toLowCardinality(toNullable(toInt128(1048576))), 2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(toNullable(2147483646)), toNullable(28), toInt128(toLowCardinality(toNullable(toInt128(1048576))), 2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE 0 GROUP BY toNullable(toNullable(2147483646)), toNullable(28), toInt128(toLowCardinality(toNullable(toInt128(1048576))), 2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000071b9440 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 397 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) GROUP BY toNullable(2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 399 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 PREWHERE materialize(toInt256(2147483646)) GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, 26 PREWHERE materialize(toInt256(2147483646)) GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 400 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE test_table_unsigned_values__fuzz_31 GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE test_table_unsigned_values__fuzz_31 GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_31' in scope SELECT 28, 'Test signed integer values', 26, toNullable(26) WHERE test_table_unsigned_values__fuzz_31 GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 401 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) GROUP BY toNullable(test_table_unsigned_values__fuzz_32, 2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, toNullable(26) GROUP BY toNullable(test_table_unsigned_values__fuzz_32, 2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_32' in scope SELECT 28, 'Test signed integer values', 26, toNullable(26) GROUP BY toNullable(test_table_unsigned_values__fuzz_32, 2147483646), toNullable(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 402 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 403 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 404 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 405 out of 1000 SELECT 28, 'Test signed integer values', 26, toNullable(26) PREWHERE toLowCardinality(materialize(65537)) GROUP BY 2147483646, toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, toNullable(26) PREWHERE toLowCardinality(materialize(65537)) GROUP BY 2147483646, toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, toNullable(26) PREWHERE toLowCardinality(materialize(65537)) GROUP BY 2147483646, toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 406 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(toLowCardinality(28)), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(toLowCardinality(28)), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 28, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toNullable(toLowCardinality(28)), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 407 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toNullable(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 409 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT 28, 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 411 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 412 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 413 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 415 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 416 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 417 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 418 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), toInt128(toInt128(materialize(65537), 2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), toInt128(toInt128(materialize(65537), 2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), toInt128(toInt128(materialize(65537), 2147483646)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071b92db 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 14. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 16. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 17. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 18. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 19. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 20. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 23. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 24. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 26. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 29. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 31. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 Fuzzing step 419 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 420 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 421 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 422 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 423 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 424 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 425 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(materialize(toNullable(1048576)), toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(materialize(toNullable(1048576)), toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 426 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH CUBE WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 193 ('CUBE'): CUBE WITH TOTALS. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 427 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 428 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 429 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) PREWHERE toNullable(toNullable(2147483646)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) PREWHERE toNullable(toNullable(2147483646)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 431 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY 2147483646, toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY 2147483646, toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY 2147483646, toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 432 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY 2147483646, 28, toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY 2147483646, 28, toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY 2147483646, 28, toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 433 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE test_table_unsigned_values__fuzz_17 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE test_table_unsigned_values__fuzz_17 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_17' in scope SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE test_table_unsigned_values__fuzz_17 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 434 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 (''Test signed integer values''): 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WIT. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 435 out of 1000 EXPLAIN PIPELINE compact = true SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 436 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 437 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 438 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(toInt128(2147483646)) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 439 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 441 out of 1000 SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 442 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 443 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(26) GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 444 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE 28 GROUP BY toNullable(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 447 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE 28 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 448 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 449 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 450 out of 1000 EXPLAIN `header, description` = true, indexes = true, json = true SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(toLowCardinality(2147483646)), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN `header, description` = true, indexes = true, json = true SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(toLowCardinality(2147483646)), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown setting "header, description" for EXPLAIN PLAN query. Supported settings: sorting, optimize, indexes, json, actions, description, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [5], String&&) @ 0x000000001158a80b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::(anonymous namespace)::ExplainSettings DB::(anonymous namespace)::checkAndGetSettings(std::shared_ptr const&) @ 0x00000000115860e2 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157f731 6. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 7. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 8. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 11. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 13. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 14. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 15. ? @ 0x00007ffa70350ac3 16. ? @ 0x00007ffa703e2850 Fuzzing step 451 out of 1000 EXPLAIN ESTIMATE SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN ESTIMATE SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001157fbf2 13. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 14. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 452 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 453 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 455 out of 1000 SELECT 'Test signed integer values', 26, toUInt256(26) WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT 'Test signed integer values', 26, toUInt256(26) WHERE 28 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, toUInt256(26) WHERE 28 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toUInt256(26) WHERE 28 GROUP BY toNullable(2147483646), 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 457 out of 1000 SELECT 'Test signed integer values', 26, toUInt256(26) WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 458 out of 1000 EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true, compact = true SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 459 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toNullable(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 461 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), toInt128(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), toInt128(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 463 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 WHERE 28 GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 464 out of 1000 SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), 26 WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 465 out of 1000 SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), 26 PREWHERE materialize(toNullable(1)) WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), 26 PREWHERE materialize(toNullable(1)) WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 466 out of 1000 SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), toLowCardinality(26) WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 467 out of 1000 SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), toLowCardinality(26) PREWHERE 28 WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), toLowCardinality(26) PREWHERE 28 WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 468 out of 1000 SELECT toFixedString('Test signed integer values', 26), toLowCardinality(toNullable(26)), 26 WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), 2147483646 Error on processing query 'SELECT toFixedString('Test signed integer values', 26), toLowCardinality(toNullable(26)), 26 WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT toFixedString('Test signed integer values', 26), toLowCardinality(toNullable(26)), 26 WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 469 out of 1000 SELECT 'Test signed integer values', toLowCardinality(toNullable(materialize(26))), toLowCardinality(26) WHERE 28 GROUP BY toNullable(materialize(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 470 out of 1000 SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), toLowCardinality(26) WHERE 28 GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), toLowCardinality(26) WHERE 28 WITH TOTALS Error on processing query 'SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), toLowCardinality(26) WHERE 28 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 472 out of 1000 SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), 26 WHERE -2147483649 GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', toLowCardinality(toNullable(26)), 26 WHERE -2147483649 GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Illegal type Int64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 473 out of 1000 SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE 28 GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(test_table_unsigned_values__fuzz_42, 28), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE 28 GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(test_table_unsigned_values__fuzz_42, 28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_42' in scope SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE 28 GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(test_table_unsigned_values__fuzz_42, 28), toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 474 out of 1000 SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE 28 GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 475 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 476 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 477 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 478 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 480 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 481 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 482 out of 1000 SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(toNullable(2147483646)), 28, toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(toNullable(2147483646)), 28, toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(toNullable(2147483646)), 28, toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 483 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 (''Test signed integer values''): 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCar. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 484 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 485 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 486 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 487 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 489 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 491 out of 1000 EXPLAIN ESTIMATE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 EXPLAIN SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 EXPLAIN SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 494 out of 1000 EXPLAIN SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 495 out of 1000 EXPLAIN SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 496 out of 1000 EXPLAIN SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 497 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 499 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 500 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 501 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 502 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 503 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 504 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 505 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 506 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 507 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 (''Test signed integer values''): 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCar. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 508 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 509 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 510 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 511 out of 1000 SELECT toFixedString('Test signed integer values', 26), toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), 28, toInt128(2147483646) Error on processing query 'SELECT toFixedString('Test signed integer values', 26), toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), 28, toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT toFixedString('Test signed integer values', 26), toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), 28, toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 512 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 513 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 514 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 515 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 516 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 517 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 518 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 519 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 520 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(materialize(toInt128(1)), toNullable(2147483646))), 28, 2147483646 Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(materialize(toInt128(1)), toNullable(2147483646))), 28, 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(materialize(toInt128(1)), toNullable(2147483646))), 28, 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 521 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 522 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 (''Test signed integer values''): 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCar. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 523 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 524 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 525 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 526 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 527 out of 1000 SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 528 out of 1000 SELECT 'Test signed integer values', toNullable(26), 26 WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), 2147483646 Error on processing query 'SELECT 'Test signed integer values', toNullable(26), 26 WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', toNullable(26), 26 WHERE NULL GROUP BY toNullable(materialize(toNullable(2147483646))), toLowCardinality(28), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 529 out of 1000 SELECT 'Test signed integer values', toNullable(26), toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 530 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 531 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 532 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 533 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 534 out of 1000 EXPLAIN ESTIMATE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 535 out of 1000 EXPLAIN ESTIMATE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 536 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 (''Test signed integer values''): 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 537 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 538 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 540 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 541 out of 1000 EXPLAIN SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 542 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 (''Test signed integer values''): 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 543 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 43 (''Test signed integer values''): 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 544 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Syntax error: failed at position 48 (''Test signed integer values''): 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 545 out of 1000 EXPLAIN SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 546 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 547 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), 2147483646 Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 548 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 549 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 550 out of 1000 EXPLAIN SYNTAX SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 551 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) PREWHERE test_table_unsigned_values__fuzz_36 GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) PREWHERE test_table_unsigned_values__fuzz_36 GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_36' in scope SELECT 'Test signed integer values', 26, toLowCardinality(26) PREWHERE test_table_unsigned_values__fuzz_36 GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 552 out of 1000 EXPLAIN AST SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 553 out of 1000 EXPLAIN QUERY TREE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 554 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 555 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 556 out of 1000 EXPLAIN PIPELINE SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 557 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY materialize(toNullable(2147483646)), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 558 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 560 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 561 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(toLowCardinality(26)) WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 562 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 564 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 565 out of 1000 SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 567 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 568 out of 1000 SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 569 out of 1000 SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) PREWHERE materialize(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) PREWHERE materialize(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 570 out of 1000 EXPLAIN PIPELINE header = true SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Error on processing query 'EXPLAIN PIPELINE header = true SELECT 'Test signed integer values', toUInt256(26), toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 571 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 572 out of 1000 SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(t__fuzz_46, 2147483646), toLowCardinality(28), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(t__fuzz_46, 2147483646), toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_46' in scope SELECT 'Test signed integer values', 26, toLowCardinality(26) WHERE NULL GROUP BY materialize(t__fuzz_46, 2147483646), toLowCardinality(28), toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 573 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 574 out of 1000 SELECT 'Test signed integer values', 26, 26 PREWHERE test_table_unsigned_values__fuzz_19 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 Error on processing query 'SELECT 'Test signed integer values', 26, 26 PREWHERE test_table_unsigned_values__fuzz_19 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_19' in scope SELECT 'Test signed integer values', 26, 26 PREWHERE test_table_unsigned_values__fuzz_19 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 575 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 576 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(toLowCardinality(28))), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 577 out of 1000 SELECT 'Test signed integer values', toLowCardinality(26), 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(toLowCardinality(28))), 2147483646 Error on processing query 'SELECT 'Test signed integer values', toLowCardinality(26), 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(toLowCardinality(28))), 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', toLowCardinality(26), 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(toLowCardinality(28))), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 578 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(toLowCardinality(28))), toInt128(2147483646) Got boring AST Fuzzing step 579 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(28)), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 580 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(materialize(toNullable('Test unsigned integer values')), 28)), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(materialize(toNullable('Test unsigned integer values')), 28)), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(materialize(materialize(toNullable('Test unsigned integer values')), 28)), toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 17. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 18. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 21. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 22. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 24. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 27. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 29. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 30. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 31. ? @ 0x00007ffa70350ac3 Fuzzing step 581 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 582 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), 2147483646 Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 583 out of 1000 SELECT 'Test signed integer values', 26, 26 PREWHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, 26 PREWHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 584 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), 2147483646 Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 585 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 586 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) Got boring AST Fuzzing step 587 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646) Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 590 out of 1000 SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), 2147483646 Error on processing query 'SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 591 out of 1000 SELECT toLowCardinality(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), toInt128(2147483646) Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 SELECT toLowCardinality(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), toInt128(2147483646) Got boring AST Fuzzing step 593 out of 1000 SELECT toLowCardinality(toLowCardinality(0)), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), 2147483646 Error on processing query 'SELECT toLowCardinality(toLowCardinality(0)), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), 2147483646': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toLowCardinality(toLowCardinality(0)), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), 2147483646. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 594 out of 1000 SELECT toLowCardinality(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), toInt128(2147483646) Got boring AST Fuzzing step 595 out of 1000 SELECT materialize(toNullable(28)), toLowCardinality(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(toNullable(toInt256(2147483646))) Error on processing query 'SELECT materialize(toNullable(28)), toLowCardinality(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(toNullable(toInt256(2147483646)))': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 5]. In scope SELECT materialize(toNullable(28)), toLowCardinality(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(toNullable(toInt256(2147483646))). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 596 out of 1000 SELECT toLowCardinality(toLowCardinality(0)), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) Error on processing query 'SELECT toLowCardinality(toLowCardinality(0)), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646)': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toLowCardinality(toLowCardinality(0)), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646). Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 597 out of 1000 SELECT toLowCardinality(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), toInt128(2147483646) Got boring AST Fuzzing step 598 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toNullable(28)), toInt128(2147483646) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 599 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toNullable(28)), toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 600 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 602 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), 2147483646 WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), 2147483646 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), 2147483646 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 603 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 604 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 605 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(28)), toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 606 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 607 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 609 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 610 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 611 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 612 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 613 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 614 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 615 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 616 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 617 out of 1000 SELECT toNullable(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP Error on processing query 'SELECT toNullable(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT toNullable(0), 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 618 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 619 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(toDecimal64(1., 16), 2147483646) WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(toDecimal64(1., 16), 2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), 28, toInt128(toDecimal64(1., 16), 2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 620 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 621 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 622 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toLowCardinality(26)) WHERE NULL GROUP BY materialize(2147483646), 28, 2147483646 WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, materialize(toLowCardinality(26)) WHERE NULL GROUP BY materialize(2147483646), 28, 2147483646 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, materialize(toLowCardinality(26)) WHERE NULL GROUP BY materialize(2147483646), 28, 2147483646 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 623 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 624 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 625 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY materialize(toInt256(2147483646)), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Query succeeded, using this AST as a start Fuzzing step 627 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 628 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 629 out of 1000 SELECT materialize(0), 'Test signed integer values', toNullable(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT materialize(0), 'Test signed integer values', toNullable(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT materialize(0), 'Test signed integer values', toNullable(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 630 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 631 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP Got boring AST Fuzzing step 632 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), 28, toInt128(2147483646) WITH ROLLUP Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), 28, toInt128(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), 28, toInt128(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 633 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 635 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 636 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 637 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 638 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 639 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 641 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 642 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 643 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 644 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 645 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 646 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 647 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 648 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 651 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 652 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 653 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 654 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 655 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 656 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 657 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 658 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 659 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 660 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 661 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 662 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 663 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 664 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 665 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 666 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 667 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 668 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 669 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 670 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 671 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 672 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 673 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 674 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 675 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 676 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 677 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 678 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 679 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 680 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 681 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 682 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 683 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 684 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 685 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 686 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 687 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 688 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 689 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 690 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 691 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 692 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 693 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 694 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 695 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 696 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 697 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 698 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 699 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 700 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 701 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 702 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 703 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 704 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 705 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 706 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 707 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), 28, 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 708 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 709 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 710 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 711 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 712 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 713 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 714 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 715 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 716 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 717 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 718 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 719 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 720 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 721 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 722 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 723 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 724 out of 1000 SELECT 0, 'Test signed integer values', 26, toNullable(26) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', 26, toNullable(26) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, toNullable(26) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 725 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 726 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 727 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 728 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 729 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 730 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 731 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 732 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 733 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 734 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 735 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 736 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 737 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 738 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 739 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 740 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 741 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 742 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 743 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 744 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 745 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 746 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 747 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 748 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 749 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 750 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 751 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 752 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toInt128(materialize(65535)), toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', 26, materialize(toInt128(materialize(65535)), toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 0, 'Test signed integer values', 26, materialize(toInt128(materialize(65535)), toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 753 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 754 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 755 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 756 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 757 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 758 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 759 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 760 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 761 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 762 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 763 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 764 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 765 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 766 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 767 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 768 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 769 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 770 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 771 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 772 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 773 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 774 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 775 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 776 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 777 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 778 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 779 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 780 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 781 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 782 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 783 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 784 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 785 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 786 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 787 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 788 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 789 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 790 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 791 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 792 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY 2147483646, 28, toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 793 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 794 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 795 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 796 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 797 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 798 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 799 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 800 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 801 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 802 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 803 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 804 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 805 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 806 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 807 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 808 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 809 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 810 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 811 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 812 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 813 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 814 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 815 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 816 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 817 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 818 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 819 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 820 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 821 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 822 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 823 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 824 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 825 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 826 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 827 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 828 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 829 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 830 out of 1000 EXPLAIN SYNTAX SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 831 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 832 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 34 ('0'): 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardina. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 833 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 834 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 835 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 836 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 837 out of 1000 EXPLAIN ESTIMATE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 838 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 839 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 840 out of 1000 SELECT 0, 'Test signed integer values', toNullable(26), materialize(26) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(toNullable(materialize(toNullable(65537))), 28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', toNullable(26), materialize(26) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(toNullable(materialize(toNullable(65537))), 28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 0, 'Test signed integer values', toNullable(26), materialize(26) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(toNullable(materialize(toNullable(65537))), 28), toInt128(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 841 out of 1000 EXPLAIN AST SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 842 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 843 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 844 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 845 out of 1000 EXPLAIN SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 846 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 847 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 848 out of 1000 EXPLAIN PIPELINE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 849 out of 1000 EXPLAIN QUERY TREE SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 850 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 851 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 852 out of 1000 EXPLAIN PIPELINE compact = true SELECT 0, 'Test signed integer values', 26, materialize(26) WHERE NULL GROUP BY toInt256(test_table_unsigned_values__fuzz_41, 2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 0, 'Test signed integer values', 26, materialize(26) WHERE NULL GROUP BY toInt256(test_table_unsigned_values__fuzz_41, 2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 853 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 854 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toNullable(26)) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 855 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(26) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toInt128(toLowCardinality(toInt256(2147483646))) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 856 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(toNullable(28), 26) WHERE NULL GROUP BY 2147483646, 28, toInt128(toLowCardinality(toInt256(2147483646))) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', 26, materialize(toNullable(28), 26) WHERE NULL GROUP BY 2147483646, 28, toInt128(toLowCardinality(toInt256(2147483646))) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT 0, 'Test signed integer values', 26, materialize(toNullable(28), 26) WHERE NULL GROUP BY 2147483646, 28, toInt128(toLowCardinality(toInt256(2147483646))) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 857 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', materialize(26), materialize(26) WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(toLowCardinality(toInt256(2147483646))) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 0, 'Test signed integer values', materialize(26), materialize(26) WHERE NULL GROUP BY 2147483646, toLowCardinality(28), toInt128(toLowCardinality(toInt256(2147483646))) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 39 ('0'): 0, 'Test signed integer values', materialize(26), materialize(26) WHERE NULL GROUP BY 2147483646, toLowCardinality(28). Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 858 out of 1000 SELECT 0, 'Test signed integer values', 26, materialize(26) WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toLowCardinality(toInt256(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 859 out of 1000 SELECT 0, 'Test signed integer values', 26, 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(28), toLowCardinality(toInt256(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 860 out of 1000 SELECT 0, 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(materialize(toLowCardinality(28))), toLowCardinality(toInt256(2147483646)) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 861 out of 1000 SELECT 0, toInt256(65535), 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28, materialize(toLowCardinality(28))), toLowCardinality(toInt256(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, toInt256(65535), 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28, materialize(toLowCardinality(28))), toLowCardinality(toInt256(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 5]. In scope SELECT 0, toInt256(65535), 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(28, materialize(toLowCardinality(28))), toLowCardinality(toInt256(2147483646)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 862 out of 1000 SELECT 0, 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(materialize(toLowCardinality(28))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 863 out of 1000 SELECT 0, 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(materialize(toLowCardinality(28))), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(materialize(toLowCardinality(28))), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(materialize(toLowCardinality(28))), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 864 out of 1000 SELECT 0, 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(materialize(toLowCardinality(materialize(toUInt256(28))))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0, 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(materialize(toLowCardinality(materialize(toUInt256(28))))), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 4]. In scope SELECT 0, 'Test signed integer values', toUInt128(26), 26 WHERE NULL GROUP BY 2147483646, toLowCardinality(materialize(toLowCardinality(materialize(toUInt256(28))))), toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 865 out of 1000 SELECT 0 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(materialize(toLowCardinality(toLowCardinality(toNullable(28))))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 866 out of 1000 SELECT 0 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toLowCardinality(toNullable(28)))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 867 out of 1000 SELECT 0 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toLowCardinality(toNullable(28)))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 868 out of 1000 SELECT 0 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toLowCardinality(toNullable(28)))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 869 out of 1000 SELECT 0 WHERE NULL WITH TOTALS Error on processing query 'SELECT 0 WHERE NULL WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 870 out of 1000 SELECT 0 PREWHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(toLowCardinality(toNullable(28)))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0 PREWHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(toLowCardinality(toNullable(28)))), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 1]. In scope SELECT 0 PREWHERE NULL GROUP BY 2147483646, toLowCardinality(toLowCardinality(toLowCardinality(toNullable(28)))), toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 871 out of 1000 SELECT 0 WHERE NULL GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 872 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 873 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 874 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(t__fuzz_18, toLowCardinality(28)), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(t__fuzz_18, toLowCardinality(28)), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_18' in scope SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(t__fuzz_18, toLowCardinality(28)), toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 875 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH ROLLUP WITH CUBE WITH TOTALS Error on processing query 'SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH ROLLUP WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 141 ('CUBE'): CUBE WITH TOTALS. Expected TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 876 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 1]. In scope SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 877 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(toNullable(28))), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 878 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(28)), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 879 out of 1000 SELECT 0 WHERE materialize(1024) GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(28)), toInt256(toInt256(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0 WHERE materialize(1024) GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(28)), toInt256(toInt256(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Illegal type UInt16 of column materialize(1024_UInt16) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 19. ? @ 0x00007ffa70350ac3 20. ? @ 0x00007ffa703e2850 Fuzzing step 880 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 881 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 882 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 883 out of 1000 SELECT toLowCardinality(0) WITH TOTALS Error on processing query 'SELECT toLowCardinality(0) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 884 out of 1000 SELECT 0 PREWHERE toNullable(toDecimal128(1., 29)) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0 PREWHERE toNullable(toDecimal128(1., 29)) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 885 out of 1000 SELECT toLowCardinality(t__fuzz_14, materialize(toLowCardinality(toUInt256(0)))) WHERE 1048575 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(t__fuzz_14, materialize(toLowCardinality(toUInt256(0)))) WHERE 1048575 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_14' in scope SELECT toLowCardinality(t__fuzz_14, materialize(toLowCardinality(toUInt256(0)))) WHERE 1048575 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 886 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(toLowCardinality(2147483646)), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(0) GROUP BY toInt256(toLowCardinality(2147483646)), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(0) GROUP BY toInt256(toLowCardinality(2147483646)), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 887 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 1]. In scope SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 888 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 889 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 890 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 891 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 892 out of 1000 SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 1]. In scope SELECT 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 893 out of 1000 EXPLAIN PIPELINE header = true SELECT toLowCardinality(0) GROUP BY GROUPING SETS ( (toInt256(2147483646)), (toLowCardinality(28)), (toInt256(2147483646))) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true SELECT toLowCardinality(0) GROUP BY GROUPING SETS ((toInt256(2147483646)), (toLowCardinality(28)), (toInt256(2147483646))) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 894 out of 1000 EXPLAIN PIPELINE header = true SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN PIPELINE header = true SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 895 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 896 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 897 out of 1000 EXPLAIN SYNTAX SELECT toLowCardinality(0) GROUP BY toInt256(materialize(materialize(1)), 2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN SYNTAX SELECT toLowCardinality(0) GROUP BY toInt256(materialize(materialize(1)), 2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt256'. Expected 1 argument, got 2 arguments: While processing toInt256(materialize(materialize(1)), 2147483646): While processing SELECT toLowCardinality(0) GROUP BY toInt256(materialize(materialize(1)), 2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt256, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071cfdf8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071c9d3b 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Interpreters/ActionsDAG.cpp:253: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fc9ec4 11. /build/src/Interpreters/ActionsVisitor.cpp:658: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111d8a11 12. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x00000000111e2f0f 13. /build/contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x00000000111dae6d 14. /build/src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x00000000111d0375 15. /build/src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, DB::ActionsDAG&, bool) @ 0x00000000111ae604 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(DB::ActionsDAG&) @ 0x00000000111ace68 17. /build/contrib/llvm-project/libcxx/include/vector:438: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x00000000111ab849 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001162b5d8 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:709: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000011615c16 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000116119f4 21. /build/contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001160e6ec 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001160e451 23. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000115868db 24. /build/src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b90 25. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 26. /build/src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000011586b9b 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011580e2e 28. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 29. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 30. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 31. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb Fuzzing step 898 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 899 out of 1000 SELECT toLowCardinality(test_table_unsigned_values__fuzz_33, 0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(test_table_unsigned_values__fuzz_33, 0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_33' in scope SELECT toLowCardinality(test_table_unsigned_values__fuzz_33, 0) GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 900 out of 1000 SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 1]. In scope SELECT toLowCardinality(0) GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 901 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 902 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 903 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 904 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 905 out of 1000 EXPLAIN QUERY TREE SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 906 out of 1000 EXPLAIN SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 907 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('toNullable'): toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WIT. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 908 out of 1000 EXPLAIN PIPELINE SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 909 out of 1000 EXPLAIN AST SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 910 out of 1000 EXPLAIN ESTIMATE SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 911 out of 1000 SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 912 out of 1000 SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 2]. In scope SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 913 out of 1000 SELECT toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 914 out of 1000 SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 915 out of 1000 SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 916 out of 1000 SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(materialize(2147483646)) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(materialize(2147483646)) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(materialize(2147483646)) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 917 out of 1000 SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 WITH TOTALS Error on processing query 'SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 918 out of 1000 SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, toNullable(toLowCardinality(toInt128(2147483646))), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 919 out of 1000 SELECT 65537, toLowCardinality(toInt128(2147483646)), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 920 out of 1000 SELECT 65537, toLowCardinality(2147483646), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(TinyLog, 2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537, toLowCardinality(2147483646), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(TinyLog, 2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'TinyLog' in scope SELECT 65537, toLowCardinality(2147483646), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(TinyLog, 2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 921 out of 1000 SELECT 65537, toInt128(2147483646), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 922 out of 1000 SELECT 65537, toInt128(2147483646), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537, toInt128(2147483646), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, toInt128(2147483646), 0 GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 923 out of 1000 SELECT 65537, toInt128(2147483646), 0 WITH TOTALS Error on processing query 'SELECT 65537, toInt128(2147483646), 0 WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 924 out of 1000 SELECT 65537, toInt128(2147483646), 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 925 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 926 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(28)), 2147483646 WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(28)), 2147483646 WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(toLowCardinality(28)), 2147483646 WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 927 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 928 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 929 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH ROLLUP WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 930 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH ROLLUP WITH TOTALS Got boring AST Fuzzing step 931 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 932 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), 28, toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 933 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY GROUPING SETS ( (2147483646), (28), (toInt256(2147483646))) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY GROUPING SETS ((2147483646), (28), (toInt256(2147483646))) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103acda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 934 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('65537'): 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 935 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 936 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 937 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 938 out of 1000 EXPLAIN PIPELINE compact = true SELECT 65537, 2147483646, 0 GROUP BY toInt256(toLowCardinality(2147483646)), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 65537, 2147483646, 0 GROUP BY toInt256(toLowCardinality(2147483646)), toLowCardinality(28), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 939 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toInt256(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 940 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 941 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 942 out of 1000 SELECT 65537, 2147483646, toUInt128(0) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 943 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY GROUPING SETS ( (toInt256(toLowCardinality(toNullable(2147483646)))), (toLowCardinality(28)), (toInt256(2147483646))) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY GROUPING SETS ((toInt256(toLowCardinality(toNullable(2147483646)))), (toLowCardinality(28)), (toInt256(2147483646))) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103acda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 944 out of 1000 SELECT 65537, 2147483646, toUInt128(0) GROUP BY toInt256(toLowCardinality(2147483646)), 28, toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, toUInt128(0) GROUP BY toInt256(toLowCardinality(2147483646)), 28, toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, toUInt128(0) GROUP BY toInt256(toLowCardinality(2147483646)), 28, toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 945 out of 1000 SELECT 65537, 2147483646, toUInt128(0) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 946 out of 1000 SELECT 65537, 2147483646, 0 GROUP BY toLowCardinality(toNullable(2147483646)), toLowCardinality(toNullable(28)), 2147483646 WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 GROUP BY toLowCardinality(toNullable(2147483646)), toLowCardinality(toNullable(28)), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 GROUP BY toLowCardinality(toNullable(2147483646)), toLowCardinality(toNullable(28)), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 947 out of 1000 SELECT 65537, 2147483646, toUInt128(0) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 948 out of 1000 SELECT 65537, 2147483646, toUInt128(0) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 949 out of 1000 SELECT 65537, 2147483646, toUInt128(0) GROUP BY GROUPING SETS ( (toInt256(toLowCardinality(toNullable(2147483646)))), (toLowCardinality(toNullable(28))), (toInt256(2147483646))) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, toUInt128(0) GROUP BY GROUPING SETS ((toInt256(toLowCardinality(toNullable(2147483646)))), (toLowCardinality(toNullable(28))), (toInt256(2147483646))) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103acda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 950 out of 1000 SELECT 65537, toLowCardinality(2147483646), toUInt128(0) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 951 out of 1000 SELECT 65537, toLowCardinality(2147483646), toUInt128(0) PREWHERE toLowCardinality(28) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toLowCardinality(materialize(65535)), toNullable(28)), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT 65537, toLowCardinality(2147483646), toUInt128(0) PREWHERE toLowCardinality(28) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toLowCardinality(materialize(65535)), toNullable(28)), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT 65537, toLowCardinality(2147483646), toUInt128(0) PREWHERE toLowCardinality(28) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toLowCardinality(materialize(65535)), toNullable(28)), toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 952 out of 1000 SELECT 65537, toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 953 out of 1000 SELECT 65537, toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toInt256(toLowCardinality(toNullable(2147483646))), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 954 out of 1000 SELECT 65537, toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toInt256(toNullable(2147483646)), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 955 out of 1000 SELECT toInt128(65537), toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toInt256(toNullable(2147483646)), toLowCardinality(toNullable(28)), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 956 out of 1000 SELECT toInt128(65537), toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 957 out of 1000 EXPLAIN PIPELINE compact = true SELECT toInt128(65537), toLowCardinality(2147483646), toUInt128(toLowCardinality(0)) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'EXPLAIN PIPELINE compact = true SELECT toInt128(65537), toLowCardinality(2147483646), toUInt128(toLowCardinality(0)) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 958 out of 1000 SELECT toInt128(65537), toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 959 out of 1000 SELECT 65537, toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) WITH TOTALS Error on processing query 'SELECT 65537, toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 960 out of 1000 SELECT toInt128(65537), toUInt128(toLowCardinality(toLowCardinality(65535)), 0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT toInt128(65537), toUInt128(toLowCardinality(toLowCardinality(65535)), 0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 2 arguments: In scope SELECT toInt128(65537), toUInt128(toLowCardinality(toLowCardinality(65535)), 0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToUInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071615f8 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x000000000715b7bb 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 961 out of 1000 SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 962 out of 1000 SELECT toInt128(65537), 2147483646, 0 WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT toInt128(65537), 2147483646, 0 WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT toInt128(65537), 2147483646, 0 WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 963 out of 1000 SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toLowCardinality(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toLowCardinality(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toLowCardinality(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 964 out of 1000 SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 965 out of 1000 SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(toUInt128(62)))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(toUInt128(62)))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Illegal type Nullable(UInt128) of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 966 out of 1000 SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY 2147483646, toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY 2147483646, toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY 2147483646, toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 967 out of 1000 SELECT toInt128(65537), toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT toInt128(65537), toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT toInt128(65537), toLowCardinality(2147483646), toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY 2147483646, toLowCardinality(28), toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 968 out of 1000 SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 969 out of 1000 SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toLowCardinality(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toLowCardinality(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toLowCardinality(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 970 out of 1000 SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 971 out of 1000 SELECT toInt128(65537), 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 972 out of 1000 SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 973 out of 1000 SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(a, 62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(a, 62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'a' in scope SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(toLowCardinality(a, 62))) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 10. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 13. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 14. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 974 out of 1000 SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 975 out of 1000 SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 976 out of 1000 SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), 28, toInt256(2147483646) WITH CUBE WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), 28, toInt256(2147483646) WITH CUBE WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 28 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), 28, toInt256(2147483646) WITH CUBE WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 977 out of 1000 SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 978 out of 1000 SELECT 65537, 2147483646, toUInt128(toNullable(toLowCardinality(materialize(65537))), 0) WHERE toLowCardinality(toNullable(62)) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, toUInt128(toNullable(toLowCardinality(materialize(65537))), 0) WHERE toLowCardinality(toNullable(62)) WITH TOTALS': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toUInt128'. Expected 1 argument, got 2 arguments: In scope SELECT 65537, 2147483646, toUInt128(toNullable(toLowCardinality(materialize(65537))), 0) WHERE toLowCardinality(toNullable(62)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToUInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071615f8 6. /build/src/Functions/FunctionsConversion.cpp:2009: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToUInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000715b920 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 979 out of 1000 SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(t__fuzz_24, toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(t__fuzz_24, toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_24' in scope SELECT 65537, 2147483646, toUInt128(0) WHERE toLowCardinality(t__fuzz_24, toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 980 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 981 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 982 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(255, 62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(255, 62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(255, 62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 14. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 15. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 16. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 19. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 20. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 22. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 25. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 27. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 28. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 29. ? @ 0x00007ffa70350ac3 30. ? @ 0x00007ffa703e2850 Fuzzing step 983 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) WITH TOTALS': Received from localhost:9000. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/ValidationUtils.cpp:359: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001108a501 5. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 984 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) GROUP BY 2147483646, toLowCardinality(28), 2147483646 WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) GROUP BY 2147483646, toLowCardinality(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) GROUP BY 2147483646, toLowCardinality(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 985 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 986 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 987 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 988 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(materialize(28)), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 989 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(materialize(28)), toInt256(2147483646) WITH TOTALS Got boring AST Fuzzing step 990 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), materialize(28), 2147483646 WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), materialize(28), 2147483646 WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), materialize(28), 2147483646 WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 991 out of 1000 SELECT 65537, 2147483646, 0 PREWHERE toLowCardinality(materialize(62)) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(materialize(28)), toInt256(2147483646) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 PREWHERE toLowCardinality(materialize(62)) WHERE toLowCardinality(toNullable(62)) GROUP BY toNullable(2147483646), toLowCardinality(materialize(28)), toInt256(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 992 out of 1000 SELECT 65537, toNullable(2147483646), 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 993 out of 1000 SELECT 65537, toNullable(2147483646), 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(materialize(2147483646)) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 994 out of 1000 SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY 2147483646, toLowCardinality(28), toInt256(materialize(2147483646)) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY 2147483646, toLowCardinality(28), toInt256(materialize(2147483646)) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, 2147483646, 0 WHERE toLowCardinality(62) GROUP BY 2147483646, toLowCardinality(28), toInt256(materialize(2147483646)) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 995 out of 1000 SELECT 65537, toNullable(2147483646), 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(materialize(2147483646)) WITH TOTALS Got boring AST Fuzzing step 996 out of 1000 SELECT 65537, 2147483646, 0 PREWHERE toLowCardinality(62) WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(materialize(2147483646)) WITH TOTALS Error on processing query 'SELECT 65537, 2147483646, 0 PREWHERE toLowCardinality(62) WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(materialize(2147483646)) WITH TOTALS': Received from localhost:9000. DB::Exception: Storage SystemOne (table system.one (fcaab9b1-c344-4f05-b609-b215b59d5113)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 997 out of 1000 SELECT 65537, toNullable(2147483646), 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), toInt256(materialize(2147483646)) WITH TOTALS Got boring AST Fuzzing step 998 out of 1000 SELECT 65537, toNullable(toInt128(2147483646)), 0 WHERE toLowCardinality(62) GROUP BY toNullable(2147483646), toLowCardinality(28), materialize(2147483646) WITH TOTALS Query succeeded, using this AST as a start Fuzzing step 999 out of 1000 SELECT 65537, toNullable(2147483646), 0 WHERE toLowCardinality(62) GROUP BY 2147483646, 28, materialize(2147483646) WITH TOTALS Error on processing query 'SELECT 65537, toNullable(2147483646), 0 WHERE toLowCardinality(62) GROUP BY 2147483646, 28, materialize(2147483646) WITH TOTALS': Received from localhost:9000. DB::Exception: Positional argument number 2147483646 is out of bounds. Expected in range [1, 3]. In scope SELECT 65537, toNullable(2147483646), 0 WHERE toLowCardinality(62) GROUP BY 2147483646, 28, materialize(2147483646) WITH TOTALS. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 0 out of 1 Query succeeded, using this AST as a start Fuzzing step 0 out of 50 Query succeeded, using this AST as a start Fuzzing step 1 out of 50 CREATE TABLE test_table_signed_values__fuzz_0 ( `id` Array(UInt64), `value1` Int8, `value2` Array(Int16), `value3` Int32, `value4` Array(Int64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 2 out of 50 CREATE TABLE test_table_signed_values__fuzz_1 ( `id` Array(Decimal(76, 20)), `value1` Int16, `value2` Array(Int16), `value3` Nullable(Int32), `value4` Array(Int64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 3 out of 50 CREATE TABLE test_table_signed_values__fuzz_2 ( `id` Array(Float32), `value1` Nullable(Int16), `value2` Array(LowCardinality(Int16)), `value3` Date32, `value4` Array(Int64) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 4 out of 50 CREATE TABLE test_table_signed_values__fuzz_3 ( `id` Array(Date32), `value1` Nullable(Int16), `value2` Array(LowCardinality(Int16)), `value3` Int16, `value4` Array(Nullable(Int64)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 5 out of 50 CREATE TABLE test_table_signed_values__fuzz_4 ( `id` Array(Array(UInt8)), `value1` Array(Nullable(Int16)), `value2` UInt256, `value3` Int16, `value4` Array(Nullable(Int64)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 6 out of 50 CREATE TABLE test_table_signed_values__fuzz_5 ( `id` Array(Array(LowCardinality(UInt8))), `value1` Array(Nullable(Int16)), `value2` Int8, `value3` LowCardinality(Int16), `value4` Array(Array(Nullable(Int64))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 7 out of 50 CREATE TABLE test_table_signed_values__fuzz_6 ( `id` Array(Array(LowCardinality(UInt8))), `value1` Array(Array(Int16)), `value2` Tuple(UInt256), `value3` LowCardinality(Int16), `value4` FixedString(7) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 8 out of 50 CREATE TABLE test_table_signed_values__fuzz_7 ( `id` Array(Array(LowCardinality(UInt8))), `value1` Array(Array(LowCardinality(Int16))), `value2` Tuple(Nullable(UInt256)), `value3` Nullable(Int16), `value4` FixedString(7) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 9 out of 50 CREATE TABLE test_table_signed_values__fuzz_8 ( `id` Array(Float32), `value1` Array(Array(Int16)), `value2` Tuple(Nullable(UInt256)), `value3` LowCardinality(Int16), `value4` Nullable(FixedString(7)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 10 out of 50 CREATE TABLE test_table_signed_values__fuzz_9 ( `id` Array(DateTime64(3)), `value1` Array(Array(Int16)), `value2` Tuple(Nullable(UInt256)), `value3` Nullable(Int16), `value4` Int256 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 11 out of 50 CREATE TABLE test_table_signed_values__fuzz_10 ( `id` Array(DateTime64(3)), `value1` Array(Array(UInt8)), `value2` Tuple(Nullable(UInt256)), `value3` LowCardinality(Nullable(Int16)), `value4` Array(Int256) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 12 out of 50 CREATE TABLE test_table_signed_values__fuzz_11 ( `id` Array(Nullable(DateTime64(3))), `value1` Array(Array(UInt8)), `value2` Tuple(LowCardinality(Nullable(UInt256))), `value3` Nullable(Int16), `value4` Array(Nullable(Int256)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 13 out of 50 CREATE TABLE test_table_signed_values__fuzz_12 ( `id` Array(DateTime64(3)), `value1` Array(Array(UInt8)), `value2` UInt8, `value3` Int128, `value4` Array(Nullable(Int256)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 14 out of 50 CREATE TABLE test_table_signed_values__fuzz_13 ( `id` Decimal(9, 1), `value1` FixedString(18), `value2` UInt8, `value3` Nullable(Int128), `value4` Array(LowCardinality(Int256)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 15 out of 50 CREATE TABLE test_table_signed_values__fuzz_14 ( `id` Array(Decimal(9, 1)), `value1` Nullable(FixedString(18)), `value2` UInt128, `value3` Int128, `value4` Array(LowCardinality(Nullable(Int256))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 16 out of 50 CREATE TABLE test_table_signed_values__fuzz_15 ( `id` Array(Decimal(9, 1)), `value1` Nullable(FixedString(18)), `value2` UInt128, `value3` Nullable(Int128), `value4` Array(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 17 out of 50 CREATE TABLE test_table_signed_values__fuzz_16 ( `id` Array(Array(Decimal(9, 1))), `value1` LowCardinality(Nullable(FixedString(18))), `value2` UInt128, `value3` Nullable(Int128), `value4` Array(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 18 out of 50 CREATE TABLE test_table_signed_values__fuzz_17 ( `id` Array(Array(Decimal(9, 1))), `value1` Array(LowCardinality(Nullable(FixedString(18)))), `value2` LowCardinality(UInt128), `value3` Nullable(Int128), `value4` Array(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 19 out of 50 CREATE TABLE test_table_signed_values__fuzz_18 ( `id` Date, `value1` Array(LowCardinality(Nullable(FixedString(18)))), `value2` LowCardinality(UInt128), `value3` Array(Int128), `value4` Array(Date) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 20 out of 50 CREATE TABLE test_table_signed_values__fuzz_19 ( `id` UInt16, `value1` Array(LowCardinality(Nullable(FixedString(18)))), `value2` LowCardinality(Int16), `value3` UInt16, `value4` UInt256 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 21 out of 50 CREATE TABLE test_table_signed_values__fuzz_20 ( `id` UInt16, `value1` Array(Nullable(FixedString(18))), `value2` Int128, `value3` Nullable(UInt16), `value4` UInt256 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 22 out of 50 CREATE TABLE test_table_signed_values__fuzz_21 ( `id` Array(UInt16), `value1` Array(FixedString(18)), `value2` Decimal(18, 9), `value3` LowCardinality(Nullable(UInt16)), `value4` UInt256 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 23 out of 50 CREATE TABLE test_table_signed_values__fuzz_22 ( `id` Array(Decimal(38, 29)), `value1` Array(FixedString(18)), `value2` Decimal(18, 9), `value3` LowCardinality(Nullable(UInt16)), `value4` LowCardinality(UInt256) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 24 out of 50 CREATE TABLE test_table_signed_values__fuzz_23 ( `id` Array(Decimal(38, 29)), `value1` Array(FixedString(18)), `value2` Decimal(18, 9), `value3` LowCardinality(Nullable(UInt16)), `value4` UInt256 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 25 out of 50 CREATE TABLE test_table_signed_values__fuzz_24 ( `id` Array(Decimal(38, 29)), `value1` Array(FixedString(18)), `value2` Decimal(18, 9), `value3` LowCardinality(UInt16), `value4` Nullable(UInt256) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 26 out of 50 CREATE TABLE test_table_signed_values__fuzz_25 ( `id` Array(Decimal(38, 29)), `value1` Array(FixedString(18)), `value2` Decimal(18, 9), `value3` LowCardinality(UInt16), `value4` Nullable(UInt256) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 27 out of 50 CREATE TABLE test_table_signed_values__fuzz_26 ( `id` Array(Nullable(Decimal(38, 29))), `value1` Array(LowCardinality(FixedString(18))), `value2` Array(Decimal(18, 9)), `value3` UInt16, `value4` Float32 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 28 out of 50 CREATE TABLE test_table_signed_values__fuzz_27 ( `id` Array(UInt32), `value1` Array(LowCardinality(FixedString(18))), `value2` Array(Decimal(18, 9)), `value3` LowCardinality(UInt16), `value4` Float32 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 29 out of 50 CREATE TABLE test_table_signed_values__fuzz_28 ( `id` String, `value1` Array(Int8), `value2` Array(Decimal(18, 9)), `value3` LowCardinality(UInt16), `value4` Float32 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 30 out of 50 CREATE TABLE test_table_signed_values__fuzz_29 ( `id` LowCardinality(String), `value1` Array(Int8), `value2` Array(Array(Decimal(18, 9))), `value3` LowCardinality(UInt16), `value4` Array(Float32) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 31 out of 50 CREATE TABLE test_table_signed_values__fuzz_30 ( `id` LowCardinality(String), `value1` Array(Int8), `value2` Array(Array(Decimal(18, 9))), `value3` Array(UInt16), `value4` Array(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 32 out of 50 CREATE TABLE test_table_signed_values__fuzz_31 ( `id` LowCardinality(String), `value1` Array(Int8), `value2` Array(Array(Decimal(18, 9))), `value3` Array(UInt128), `value4` Array(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 33 out of 50 CREATE TABLE test_table_signed_values__fuzz_32 ( `id` Array(Int128), `value1` Array(LowCardinality(Int8)), `value2` Array(Array(Decimal(18, 9))), `value3` Array(UInt128), `value4` Array(LowCardinality(UInt8)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 34 out of 50 CREATE TABLE test_table_signed_values__fuzz_33 ( `id` Array(Int128), `value1` Array(LowCardinality(Int8)), `value2` Array(Array(Array(Decimal(18, 9)))), `value3` Array(UInt128), `value4` Array(LowCardinality(UInt8)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 35 out of 50 CREATE TABLE test_table_signed_values__fuzz_34 ( `id` Array(Int128), `value1` Array(Int128), `value2` Array(Date), `value3` Array(UInt128), `value4` Array(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 36 out of 50 CREATE TABLE test_table_signed_values__fuzz_35 ( `id` Array(Int128), `value1` Array(Int128), `value2` Array(Date), `value3` Array(UInt128), `value4` Array(UInt8) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 37 out of 50 CREATE TABLE test_table_signed_values__fuzz_36 ( `id` Array(Array(Int128)), `value1` Array(Int128), `value2` Array(UInt32), `value3` Array(UInt128), `value4` Array(LowCardinality(UInt8)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 38 out of 50 CREATE TABLE test_table_signed_values__fuzz_37 ( `id` Array(Array(Int128)), `value1` Array(Int128), `value2` Array(LowCardinality(UInt32)), `value3` Array(Array(UInt128)), `value4` Array(LowCardinality(UInt8)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 39 out of 50 CREATE TABLE test_table_signed_values__fuzz_38 ( `id` Array(Array(Int128)), `value1` Array(Int128), `value2` Array(LowCardinality(UInt32)), `value3` Array(Array(UInt128)), `value4` Array(Array(LowCardinality(UInt8))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 40 out of 50 CREATE TABLE test_table_signed_values__fuzz_39 ( `id` Array(Array(Nullable(Int128))), `value1` Array(Int128), `value2` Array(Array(UInt32)), `value3` Array(Array(UInt128)), `value4` Array(Array(LowCardinality(UInt8))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 41 out of 50 CREATE TABLE test_table_signed_values__fuzz_40 ( `id` Array(Array(Int128)), `value1` Array(Int128), `value2` Array(Array(UInt128)), `value3` Array(Array(UInt128)), `value4` Array(Array(LowCardinality(UInt8))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 42 out of 50 CREATE TABLE test_table_signed_values__fuzz_41 ( `id` UInt64, `value1` Array(Int128), `value2` Array(Array(UInt128)), `value3` Array(Array(UInt128)), `value4` Array(Array(UInt8)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 43 out of 50 CREATE TABLE test_table_signed_values__fuzz_42 ( `id` LowCardinality(UInt64), `value1` Array(Array(Int128)), `value2` Array(Array(UUID)), `value3` Array(Array(LowCardinality(UInt128))), `value4` Array(Array(UInt128)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 44 out of 50 CREATE TABLE test_table_signed_values__fuzz_43 ( `id` Tuple(UInt16, DateTime64(3), Int8), `value1` Int32, `value2` Array(Tuple(Int16, Int256, UInt32, Int256, String, UInt32)), `value3` Array(Array(DateTime64(3))), `value4` Array(Array(UInt128)) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 45 out of 50 CREATE TABLE test_table_signed_values__fuzz_44 ( `id` Decimal(76, 15), `value1` UInt64, `value2` Array(Tuple(Int16, Int256, Array(UInt32), Array(Int256), String, UInt32)), `value3` Array(Array(DateTime64(3))), `value4` Array(Array(Nullable(UInt128))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 46 out of 50 CREATE TABLE test_table_signed_values__fuzz_45 ( `id` DateTime64(3), `value1` Array(UInt64), `value2` UInt16, `value3` Array(Array(DateTime64(3))), `value4` Array(Array(Nullable(UInt128))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 47 out of 50 CREATE TABLE test_table_signed_values__fuzz_46 ( `id` Int256, `value1` Array(UInt64), `value2` UInt16, `value3` Array(Array(Tuple(UInt16, Float64, Decimal(18, 16), Decimal(76, 63), Int256, UInt16))), `value4` Array(Array(Array(UInt128))) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 48 out of 50 CREATE TABLE test_table_signed_values__fuzz_47 ( `id` Int256, `value1` Int16, `value2` UInt16, `value3` Array(Array(Array(Tuple(UInt16, Float64, Decimal(18, 16), Decimal(76, 63), Int256, UInt16)))), `value4` UInt16 ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 49 out of 50 CREATE TABLE test_table_signed_values__fuzz_48 ( `id` Nullable(Int256), `value1` Array(Int16), `value2` UInt16, `value3` Array(Array(Array(Tuple(UInt16, Float64, Decimal(18, 16), Decimal(76, 63), Int256, UInt16)))), `value4` Nullable(UInt16) ) ENGINE = TinyLog Query succeeded, using this AST as a start Fuzzing step 0 out of 1 Query succeeded, using this AST as a start INSERT INTO test_table_signed_values__fuzz_48 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_48 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_46 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_46 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_44 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_44 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value2. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_47 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_47 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value3. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_43 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_43 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Tuple can only be performed between tuple types or from String. Left type: UInt8, right type: Tuple(UInt16, DateTime64(3), Int8): while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Functions/FunctionsConversion.cpp:0: DB::(anonymous namespace)::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const @ 0x000000000710c9fa 5. /build/src/Functions/FunctionsConversion.cpp:5206: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa3cf 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_40 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_40 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_39 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_39 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_37 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_37 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_34 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_34 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_27 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_27 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_23 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_23 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_31 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_31 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_22 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_22 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_24 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_24 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_20 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_20 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_16 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_16 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_21 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_21 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_35 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_35 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_18 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_18 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_14 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_14 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_13 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_13 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS FixedString is only implemented for types String and FixedString: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3362: DB::(anonymous namespace)::FunctionCast::createFixedStringWrapper(std::shared_ptr const&, unsigned long) const @ 0x000000000710b5c5 5. /build/src/Functions/FunctionsConversion.cpp:5202: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa300 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_38 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_38 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_32 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_32 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_4 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_4 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_11 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_11 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_10 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_10 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_41 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_41 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_29 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_29 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_15 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_15 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_6 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_6 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_9 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_9 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_33 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_33 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_7 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_7 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_42 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_42 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_25 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_25 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_19 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_19 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_0 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_0 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_3 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_3 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_30 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_30 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_1 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_1 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_5 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_5 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_17 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_17 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_12 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_12 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_45 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_45 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_28 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_28 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column number to destination column value1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_8 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_8 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 INSERT INTO test_table_signed_values__fuzz_2 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120 Error on processing query 'INSERT INTO test_table_signed_values__fuzz_2 SELECT number % 3, number, number, number, number FROM system.numbers LIMIT 120': Received from localhost:9000. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: while converting source column `modulo(number, 3)` to destination column id. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Functions/FunctionsConversion.cpp:3560: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000710ba25 5. /build/src/Functions/FunctionsConversion.cpp:5204: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000070fa276 6. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x00000000070f85ae 7. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x0000000010fca900 8. /build/src/Interpreters/ActionsDAG.cpp:286: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x0000000010fcb321 9. /build/src/Interpreters/ActionsDAG.cpp:1554: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x0000000010fd83ff 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:544: DB::InterpreterInsertQuery::buildInsertSelectPipeline(DB::ASTInsertQuery&, std::shared_ptr) @ 0x00000000115fff6f 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x000000001160322c 12. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 0 out of 1000 Query succeeded, using this AST as a start Fuzzing step 1 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 2 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id ORDER BY id DESC Got boring AST Fuzzing step 3 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 4 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values WITH TOTALS ORDER BY id DESC Error on processing query 'SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values WITH TOTALS ORDER BY id DESC': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values WITH TOTALS ORDER BY id DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 7. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c3d 8. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 5 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY id DESC Got boring AST Fuzzing step 6 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY t__fuzz_17 ASC, id DESC NULLS LAST Error on processing query 'SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY t__fuzz_17 ASC, id DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_17' in scope SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY t__fuzz_17 ASC, id DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 7 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY id DESC Got boring AST Fuzzing step 8 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY id DESC Query succeeded, using this AST as a start Fuzzing step 9 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY id ASC Query succeeded, using this AST as a start Fuzzing step 10 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY id ASC Got boring AST Fuzzing step 11 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC, id DESC Query succeeded, using this AST as a start Fuzzing step 12 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 13 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 14 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(number, value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values WHERE test_table_unsigned_values__fuzz_4 GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC NULLS LAST Error on processing query 'SELECT id, any(value1) IGNORE NULLS, any(value2), any(number, value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values WHERE test_table_unsigned_values__fuzz_4 GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'number' in scope SELECT id, any(value1) IGNORE NULLS, any(value2), any(number, value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values WHERE test_table_unsigned_values__fuzz_4 GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 15 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 16 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 17 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(toFixedString('Test signed integer values', 26), value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC Error on processing query 'SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(toFixedString('Test signed integer values', 26), value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 18 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 19 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 20 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3), any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 21 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 22 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 23 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3), any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 24 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 25 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) RESPECT NULLS, any(value3), any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 26 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 27 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 28 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 29 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 30 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 31 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 32 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 33 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 34 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 35 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 36 out of 1000 SELECT id, any(value1), any(value2), any(value3), toNullable(toLowCardinality(14)), any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 37 out of 1000 SELECT id, any(value1), any(value2), any(value3), toLowCardinality(14), any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 38 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 39 out of 1000 SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_signed_values PREWHERE materialize(toInt256(65535)) GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS LAST Error on processing query 'SELECT id, any(value1), any(value2), any(value3), any(value4) FROM test_table_signed_values PREWHERE materialize(toInt256(65535)) GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS LAST': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_signed_values (2380cd94-e458-4c96-b735-64d1c5982a15)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 40 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 41 out of 1000 SELECT id, any(toNullable(1048576), value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(toNullable(1048576), value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be260 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 42 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 43 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 44 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 45 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values PREWHERE t__fuzz_34 GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values PREWHERE t__fuzz_34 GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_34' in scope SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values PREWHERE t__fuzz_34 GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 46 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 47 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 48 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 49 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 50 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id WITH CUBE ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 51 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 52 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 53 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 54 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY id ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 55 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 56 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 57 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 58 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 59 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 60 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 61 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 62 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 63 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 64 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 65 out of 1000 SELECT id, any(value1), any(value2), any(value3) IGNORE NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 66 out of 1000 SELECT id, any(value1), any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 67 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 68 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 69 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 70 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 71 out of 1000 EXPLAIN PIPELINE `graph=1` = true SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Error on processing query 'EXPLAIN PIPELINE `graph=1` = true SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Unknown setting "graph=1" for EXPLAIN PIPELINE query. Supported settings: compact, graph, header. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const (&) [9], String&&) @ 0x000000001158ad8b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582f61 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 72 out of 1000 SELECT id, any(value1) IGNORE NULLS, t__fuzz_17, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(value1) IGNORE NULLS, t__fuzz_17, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_17' in scope SELECT id, any(value1) IGNORE NULLS, t__fuzz_17, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 73 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 74 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 75 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2), any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 76 out of 1000 SELECT id, any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 77 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1) IGNORE NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SET. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 78 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 79 out of 1000 SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values PREWHERE materialize(toInt256(1)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(value1), any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values PREWHERE materialize(toInt256(1)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_signed_values (2380cd94-e458-4c96-b735-64d1c5982a15)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 80 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 81 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "run_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 82 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values PREWHERE toLowCardinality(materialize(1)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values PREWHERE toLowCardinality(materialize(1)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_signed_values (2380cd94-e458-4c96-b735-64d1c5982a15)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 83 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 84 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 85 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 86 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 87 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 88 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 89 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 90 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 91 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 92 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 93 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 94 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values PREWHERE toNullable(toNullable(65537)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values PREWHERE toNullable(toNullable(65537)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_signed_values (2380cd94-e458-4c96-b735-64d1c5982a15)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 95 out of 1000 EXPLAIN PIPELINE compact = true SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Error on processing query 'EXPLAIN PIPELINE compact = true SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 96 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 97 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS, any(value4) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 98 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 99 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 100 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 101 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 102 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 103 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 104 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 105 out of 1000 SELECT id, any(toLowCardinality(toUInt128(6)), value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(toLowCardinality(toUInt128(6)), value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 106 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 107 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 108 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 109 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 110 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCar. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 111 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 112 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values WHERE toUInt128(toUInt128(62)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values WHERE toUInt128(toUInt128(62)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 113 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 114 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 115 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 116 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 117 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 118 out of 1000 SELECT id, any(value1) RESPECT NULLS, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 119 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toLowCardinality(toInt128(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 120 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toLowCardinality(toInt128(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 121 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toLowCardinality(toInt128(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC Error on processing query 'SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toLowCardinality(toInt128(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toLowCardinality(toInt128(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 122 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toLowCardinality(toInt128(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 123 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toLowCardinality(toInt128(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 124 out of 1000 EXPLAIN QUERY TREE passes = true SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE passes = true SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 125 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 126 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 127 out of 1000 EXPLAIN PIPELINE header = true SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(toInt256(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(toInt256(65535))), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 128 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC, any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 129 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC, any(value4) RESPECT NULLS ASC Got boring AST Fuzzing step 130 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 131 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 132 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WHERE 'Test signed integer values' GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS ASC NULLS LAST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WHERE 'Test signed integer values' GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type for filter in WHERE: String. In query SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WHERE 'Test signed integer values' GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String&&, String&&) @ 0x000000001097ae6b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::(anonymous namespace)::validateFilter(std::shared_ptr const&, std::basic_string_view>, std::shared_ptr const&) @ 0x0000000011088c0a 5. /build/contrib/llvm-project/libcxx/include/vector:547: DB::validateFilters(std::shared_ptr const&) @ 0x0000000011088855 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5622: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011039819 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 133 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(toInt128(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 134 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 135 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 136 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 137 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values PREWHERE toLowCardinality(toNullable(-0.)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values PREWHERE toLowCardinality(toNullable(-0.)) GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_signed_values (2380cd94-e458-4c96-b735-64d1c5982a15)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 138 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(toLowCardinality(65535)), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 139 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC Query succeeded, using this AST as a start Fuzzing step 140 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 141 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS LAST Got boring AST Fuzzing step 142 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(t__fuzz_18, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(t__fuzz_18, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_18' in scope SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(t__fuzz_18, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 143 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 144 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 145 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 146 out of 1000 SELECT id, any(materialize(toNullable(materialize(65537))), value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'SELECT id, any(materialize(toNullable(materialize(65537))), value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 147 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 148 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardi. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 149 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 150 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardi. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 151 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 152 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 153 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 154 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 155 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 156 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 157 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 158 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardi. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 159 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 160 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 161 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 162 out of 1000 EXPLAIN SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 163 out of 1000 EXPLAIN SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 164 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 165 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 166 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 167 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 168 out of 1000 EXPLAIN AST SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 169 out of 1000 EXPLAIN AST SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 170 out of 1000 EXPLAIN SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 171 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 172 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 173 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 174 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 175 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 176 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 177 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardi. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 178 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 179 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 180 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 181 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 182 out of 1000 EXPLAIN AST SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 183 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 184 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 185 out of 1000 EXPLAIN SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 186 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 187 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(test_table_unsigned_values__fuzz_0, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, 65535, any(test_table_unsigned_values__fuzz_0, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_0' in scope SELECT id, any(value1) RESPECT NULLS, 65535, any(test_table_unsigned_values__fuzz_0, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 188 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 189 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 190 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 191 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 192 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 193 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 194 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 195 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 196 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 197 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 198 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 199 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 200 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 201 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 202 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 203 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardi. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 204 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 205 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(test_table_signed_values__fuzz_3, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS LAST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, 65535, any(test_table_signed_values__fuzz_3, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_signed_values__fuzz_3' in scope SELECT id, any(value1) RESPECT NULLS, 65535, any(test_table_signed_values__fuzz_3, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 206 out of 1000 EXPLAIN AST SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 207 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 208 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 209 out of 1000 EXPLAIN AST SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 210 out of 1000 EXPLAIN AST SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 211 out of 1000 EXPLAIN PIPELINE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 212 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 213 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 214 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 215 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 216 out of 1000 EXPLAIN SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 217 out of 1000 EXPLAIN SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 218 out of 1000 EXPLAIN SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 219 out of 1000 EXPLAIN SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 220 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 221 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 222 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 223 out of 1000 EXPLAIN SYNTAX SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 224 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardi. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 225 out of 1000 EXPLAIN QUERY TREE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 226 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 227 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 228 out of 1000 EXPLAIN ESTIMATE SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 229 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 230 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values PREWHERE 62 GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values PREWHERE 62 GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_signed_values (2380cd94-e458-4c96-b735-64d1c5982a15)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 231 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(9, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, 65535, any(9, value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 232 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 233 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 234 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 235 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 236 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 237 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 238 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 239 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 240 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 241 out of 1000 SELECT id, any(t__fuzz_26, value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'SELECT id, any(t__fuzz_26, value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_26' in scope SELECT id, any(t__fuzz_26, value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS, any(value3) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 242 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 243 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 244 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 245 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(toInt128(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 246 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(toInt128(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 247 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(toInt128(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 248 out of 1000 SELECT id, materialize(toNullable(1024)), any(value1) RESPECT NULLS, materialize(toNullable(65537), 65535), any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST Error on processing query 'SELECT id, materialize(toNullable(1024)), any(value1) RESPECT NULLS, materialize(toNullable(65537), 65535), any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT id, materialize(toNullable(1024)), any(value1) RESPECT NULLS, materialize(toNullable(65537), 65535), any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY toLowCardinality(toNullable(6)) DESC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 249 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(toInt128(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 250 out of 1000 SELECT id, any(test_table_signed_values__fuzz_47, value1) RESPECT NULLS, toInt128(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'SELECT id, any(test_table_signed_values__fuzz_47, value1) RESPECT NULLS, toInt128(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_signed_values__fuzz_47' in scope SELECT id, any(test_table_signed_values__fuzz_47, value1) RESPECT NULLS, toInt128(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY any(value4) RESPECT NULLS DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 251 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 252 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 253 out of 1000 SELECT id, any(toDecimal128(toNullable(1.), toLowCardinality(30)), value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST Error on processing query 'SELECT id, any(toDecimal128(toNullable(1.), toLowCardinality(30)), value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 254 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 255 out of 1000 SELECT id, any(toDecimal256(1., toLowCardinality(5)), value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Error on processing query 'SELECT id, any(toDecimal256(1., toLowCardinality(5)), value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 256 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 257 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 258 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS DESC NULLS FIRST Got boring AST Fuzzing step 259 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC, any(value4) RESPECT NULLS DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 260 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, test_table_signed_values__fuzz_17 ASC, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, test_table_signed_values__fuzz_17 ASC, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_signed_values__fuzz_17' in scope SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, test_table_signed_values__fuzz_17 ASC, any(value4) RESPECT NULLS DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 261 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 262 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 263 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 264 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, any(value4) RESPECT NULLS ASC NULLS FIRST Got boring AST Fuzzing step 265 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 266 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 267 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 268 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 269 out of 1000 SELECT id, any(value1) RESPECT NULLS, materialize(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 270 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 271 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 272 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 273 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 274 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 275 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 276 out of 1000 SELECT id, toLowCardinality(65535), any(test_table_signed_values__fuzz_31, value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, toLowCardinality(65535), any(test_table_signed_values__fuzz_31, value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_signed_values__fuzz_31' in scope SELECT id, toLowCardinality(65535), any(test_table_signed_values__fuzz_31, value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 277 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 278 out of 1000 SELECT id, any(value1) RESPECT NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 279 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 280 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 281 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 282 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 283 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 284 out of 1000 EXPLAIN PIPELINE header = true SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE header = true SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 285 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 286 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Query succeeded, using this AST as a start Fuzzing step 287 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Error on processing query 'SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 288 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 289 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST, any(value4) RESPECT NULLS DESC Got boring AST Fuzzing step 290 out of 1000 SELECT id, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 291 out of 1000 SELECT id, toLowCardinality(14), any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 292 out of 1000 SELECT id, toLowCardinality(14), any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 293 out of 1000 SELECT id, toLowCardinality(14), any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST Error on processing query 'SELECT id, toLowCardinality(14), any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, toLowCardinality(14), any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST, any(value4) RESPECT NULLS ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 294 out of 1000 SELECT id, toLowCardinality(14), any(value1) RESPECT NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 295 out of 1000 SELECT id, toLowCardinality(14), any(value1) RESPECT NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC, any(value4) RESPECT NULLS ASC NULLS FIRST Got boring AST Fuzzing step 296 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 297 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 298 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 299 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 300 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 301 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 302 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 303 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 304 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 305 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST, any(value4) RESPECT NULLS DESC NULLS LAST Got boring AST Fuzzing step 306 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 307 out of 1000 EXPLAIN PIPELINE SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011581623 14. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 15. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 308 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(test_table_unsigned_values__fuzz_7, toLowCardinality(toDecimal256(toLowCardinality(toLowCardinality(1.)), 62), 28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(test_table_unsigned_values__fuzz_7, toLowCardinality(toDecimal256(toLowCardinality(toLowCardinality(1.)), 62), 28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_7' in scope SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(test_table_unsigned_values__fuzz_7, toLowCardinality(toDecimal256(toLowCardinality(toLowCardinality(1.)), 62), 28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 10. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 11. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 14. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 15. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 17. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 20. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 22. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 23. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 24. ? @ 0x00007ffa70350ac3 25. ? @ 0x00007ffa703e2850 Fuzzing step 309 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(toLowCardinality(1024), value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(toLowCardinality(1024), value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/SingleValueData.h:0: _ZN2DBL34createAggregateFunctionSingleValueITtTyTpTnbENS_12_GLOBAL__N_120AggregateFunctionAnyELb1ETpTnbJEEEPNS_18IAggregateFunctionERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKNS5_6vectorINS5_10shared_ptrIKNS_9IDataTypeEEENS9_ISI_EEEERKNS_5ArrayEPKNS_8SettingsE @ 0x000000000f739205 5. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f736f49 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 310 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY test_table_signed_values__fuzz_16 ASC, materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY test_table_signed_values__fuzz_16 ASC, materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_signed_values__fuzz_16' in scope SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY test_table_signed_values__fuzz_16 ASC, materialize(materialize(toNullable(65537))) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 311 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 312 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 313 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 314 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 315 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) WITH ROLLUP ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Error on processing query 'SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) WITH ROLLUP ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 316 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 317 out of 1000 SELECT id, 14, any(test_table_signed_values__fuzz_31, value1) RESPECT NULLS, toInt256(toInt128(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT id, 14, any(test_table_signed_values__fuzz_31, value1) RESPECT NULLS, toInt256(toInt128(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_signed_values__fuzz_31' in scope SELECT id, 14, any(test_table_signed_values__fuzz_31, value1) RESPECT NULLS, toInt256(toInt128(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 318 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(toLowCardinality(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 319 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toInt256(t__fuzz_24, toLowCardinality(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Error on processing query 'SELECT id, 14, any(value1) RESPECT NULLS, toInt256(t__fuzz_24, toLowCardinality(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 't__fuzz_24' in scope SELECT id, 14, any(value1) RESPECT NULLS, toInt256(t__fuzz_24, toLowCardinality(65535)), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 320 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 321 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) WITH CUBE ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) WITH CUBE ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 322 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 323 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(test_table_unsigned_values__fuzz_1, materialize(toInt256(65535))), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Error on processing query 'SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(test_table_unsigned_values__fuzz_1, materialize(toInt256(65535))), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression or function identifier 'test_table_unsigned_values__fuzz_1' in scope SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(test_table_unsigned_values__fuzz_1, materialize(toInt256(65535))), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 7. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 10. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 324 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 325 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 326 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 327 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(materialize('Test signed integer values'), toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Error on processing query 'SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(materialize('Test signed integer values'), toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT id, 14, any(value1) IGNORE NULLS, toLowCardinality(65535), any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(materialize('Test signed integer values'), toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 11. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 12. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 13. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 16. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 17. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 19. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 22. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 24. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 25. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 26. ? @ 0x00007ffa70350ac3 27. ? @ 0x00007ffa703e2850 Fuzzing step 328 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 329 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 330 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(toLowCardinality(28)) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 331 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 332 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Got boring AST Fuzzing step 333 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Got boring AST Fuzzing step 334 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Got boring AST Fuzzing step 335 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Got boring AST Fuzzing step 336 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Got boring AST Fuzzing step 337 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) IGNORE NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Got boring AST Fuzzing step 338 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 339 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Error on processing query 'SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Column default.test_table_signed_values.id is not under aggregate function and not in GROUP BY keys. In query SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) WITH TOTALS ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Analyzer/ValidationUtils.cpp:0: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108abbe 5. /build/src/Analyzer/InDepthQueryTreeVisitor.h:90: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001108a89e 6. /build/src/Analyzer/ValidationUtils.cpp:0: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x0000000011089c9c 7. /build/contrib/llvm-project/libcxx/include/vector:1454: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103982e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 340 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 341 out of 1000 SELECT id, materialize(14), any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 342 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 343 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 344 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 345 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 346 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 347 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 348 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, 65535, any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 349 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toNullable(toInt256(65535)), any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 350 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toNullable(materialize(toLowCardinality(65537)), 65535), any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Error on processing query 'SELECT id, 14, any(value1) RESPECT NULLS, toNullable(materialize(toLowCardinality(65537)), 65535), any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT id, 14, any(value1) RESPECT NULLS, toNullable(materialize(toLowCardinality(65537)), 65535), any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 351 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toNullable(toInt256(65535)), any(value2) RESPECT NULLS FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Got boring AST Fuzzing step 352 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toNullable(toInt256(65535)) FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 353 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toNullable(toInt256(65535)) FROM test_table_signed_values WHERE toLowCardinality(28) GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 354 out of 1000 SELECT id, 14, any(value1) RESPECT NULLS, toNullable(toInt256(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 355 out of 1000 SELECT id, 14, toLowCardinality(toLowCardinality(10)), any(value1) RESPECT NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 356 out of 1000 SELECT id, 14, toLowCardinality(toLowCardinality(10)), any(value1) RESPECT NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 357 out of 1000 SELECT id, 14, toLowCardinality(toLowCardinality(10)), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Query succeeded, using this AST as a start Fuzzing step 358 out of 1000 SELECT id, 14, toLowCardinality(toLowCardinality(10)), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 359 out of 1000 SELECT id, t__fuzz_30, 14, toLowCardinality(toLowCardinality(10)), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Error on processing query 'SELECT id, t__fuzz_30, 14, toLowCardinality(toLowCardinality(10)), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_30' in scope SELECT id, t__fuzz_30, 14, toLowCardinality(toLowCardinality(10)), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 360 out of 1000 SELECT id, 14, toLowCardinality(toLowCardinality(10)), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 361 out of 1000 SELECT id, 14, toLowCardinality(toLowCardinality(10)), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC Got boring AST Fuzzing step 362 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Query succeeded, using this AST as a start Fuzzing step 363 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 364 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 365 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 366 out of 1000 SELECT id, 14, toLowCardinality(toLowCardinality(1024), 10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC Error on processing query 'SELECT id, 14, toLowCardinality(toLowCardinality(1024), 10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT id, 14, toLowCardinality(toLowCardinality(1024), 10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 367 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 368 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 369 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Got boring AST Fuzzing step 370 out of 1000 SELECT id, toLowCardinality(14), toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 371 out of 1000 SELECT id, toLowCardinality(14), toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 372 out of 1000 SELECT id, toLowCardinality(14), toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(toLowCardinality(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 373 out of 1000 SELECT id, toLowCardinality(14), toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(toLowCardinality(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS LAST Got boring AST Fuzzing step 374 out of 1000 SELECT id, toLowCardinality(14), 10, any(value1) IGNORE NULLS, toNullable(materialize(toLowCardinality(2147483646)), toLowCardinality(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST Error on processing query 'SELECT id, toLowCardinality(14), 10, any(value1) IGNORE NULLS, toNullable(materialize(toLowCardinality(2147483646)), toLowCardinality(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT id, toLowCardinality(14), 10, any(value1) IGNORE NULLS, toNullable(materialize(toLowCardinality(2147483646)), toLowCardinality(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(materialize(toNullable(65537))) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 375 out of 1000 SELECT id, toLowCardinality(14), toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(toLowCardinality(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toNullable(26)) ASC, materialize(materialize(toNullable(65537))) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 376 out of 1000 SELECT id, toLowCardinality(14), toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(toLowCardinality(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 377 out of 1000 SELECT id, toLowCardinality(14), toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(toLowCardinality(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 378 out of 1000 SELECT id, toLowCardinality(14), toLowCardinality(10), any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 379 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1), toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 380 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1), toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Got boring AST Fuzzing step 381 out of 1000 SELECT id, 14, toLowCardinality(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 382 out of 1000 SELECT id, 14, toLowCardinality(10), k, any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) DESC, toUInt128(1) ASC NULLS FIRST, materialize(toNullable(26)) ASC Error on processing query 'SELECT id, 14, toLowCardinality(10), k, any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) DESC, toUInt128(1) ASC NULLS FIRST, materialize(toNullable(26)) ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'k' in scope SELECT id, 14, toLowCardinality(10), k, any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) DESC, toUInt128(1) ASC NULLS FIRST, materialize(toNullable(26)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 383 out of 1000 SELECT id, 14, 10, any(value1), toNullable(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 384 out of 1000 SELECT id, 14, 10, any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 385 out of 1000 SELECT id, 14, toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 386 out of 1000 SELECT id, 14, t__fuzz_44, 10, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Error on processing query 'SELECT id, 14, t__fuzz_44, 10, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_44' in scope SELECT id, 14, t__fuzz_44, 10, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 387 out of 1000 SELECT id, 14, toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Got boring AST Fuzzing step 388 out of 1000 SELECT id, 14, toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY toLowCardinality(1) ASC, materialize(toNullable(26)) ASC Got boring AST Fuzzing step 389 out of 1000 SELECT id, 14, toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 390 out of 1000 SELECT id, 14, toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toNullable(26)) ASC Got boring AST Fuzzing step 391 out of 1000 EXPLAIN PIPELINE header = true SELECT id, 14, toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toNullable(26)) ASC Error on processing query 'EXPLAIN PIPELINE header = true SELECT id, 14, toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toNullable(26)) ASC': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 392 out of 1000 SELECT id, 14, toNullable('Test unsigned integer values'), toNullable(any(toLowCardinality(26), value1) RESPECT NULLS, 10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toNullable(26)) ASC Error on processing query 'SELECT id, 14, toNullable('Test unsigned integer values'), toNullable(any(toLowCardinality(26), value1) RESPECT NULLS, 10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toNullable(26)) ASC': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 14. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 15. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 16. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 17. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 20. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 21. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 23. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 26. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 28. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 29. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 30. ? @ 0x00007ffa70350ac3 31. ? @ 0x00007ffa703e2850 Fuzzing step 393 out of 1000 SELECT id, toNullable(toUInt128(14)), toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 394 out of 1000 SELECT id, toNullable(toUInt128(14)), toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC Got boring AST Fuzzing step 395 out of 1000 SELECT id, toNullable(toUInt128(14)), toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY 67 ASC, materialize(toNullable(26)) ASC Error on processing query 'SELECT id, toNullable(toUInt128(14)), toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY 67 ASC, materialize(toNullable(26)) ASC': Received from localhost:9000. DB::Exception: Positional argument number 67 is out of bounds. Expected in range [1, 5]. In scope SELECT id, toNullable(toUInt128(14)), toNullable(10), any(value1), 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY 67 ASC, materialize(toNullable(26)) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038dd1 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 396 out of 1000 SELECT id, toNullable(14), toNullable(10), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 397 out of 1000 SELECT id, toNullable(14), toNullable(10), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 398 out of 1000 SELECT id, toNullable(14), toNullable(10), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH CUBE WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Error on processing query 'SELECT id, toNullable(14), toNullable(10), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH CUBE WITH TOTALS ORDER BY materialize(toNullable(26)) DESC': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 399 out of 1000 SELECT id, toNullable(14), 10, any(value1) IGNORE NULLS, materialize(65535) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 400 out of 1000 SELECT id, toNullable(toLowCardinality(14)), 10, any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 401 out of 1000 SELECT id, toNullable(toLowCardinality(14)), 10, any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Got boring AST Fuzzing step 402 out of 1000 SELECT id, toNullable(toLowCardinality(14)), 10, any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 403 out of 1000 SELECT id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 404 out of 1000 EXPLAIN PIPELINE SELECT id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 405 out of 1000 EXPLAIN TABLE OVERRIDE SELECT id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS LAST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 32 ('id'): id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id). Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 406 out of 1000 EXPLAIN ESTIMATE SELECT id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 407 out of 1000 SELECT id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 408 out of 1000 SELECT id, toNullable(materialize(14)), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 409 out of 1000 SELECT id, toNullable(materialize(14)), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 410 out of 1000 SELECT id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 411 out of 1000 SELECT id, toNullable(14), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC NULLS FIRST Got boring AST Fuzzing step 412 out of 1000 SELECT id, toNullable(toNullable(14)), any(value1) IGNORE NULLS, materialize(toInt128(65535)) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 413 out of 1000 SELECT id, toNullable(toNullable(toLowCardinality(14))), any(value1) IGNORE NULLS, materialize(65535) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 414 out of 1000 SELECT id, toNullable(toNullable(toLowCardinality(14))), any(value1) IGNORE NULLS, materialize(65535) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS LAST Got boring AST Fuzzing step 415 out of 1000 SELECT id, toNullable(toLowCardinality(14)), any(value1) IGNORE NULLS, materialize(65535) FROM test_table_signed_values WHERE 1048575 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS FIRST Error on processing query 'SELECT id, toNullable(toLowCardinality(14)), any(value1) IGNORE NULLS, materialize(65535) FROM test_table_signed_values WHERE 1048575 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 416 out of 1000 SELECT id, toNullable(toNullable(toLowCardinality(14))), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 417 out of 1000 SELECT id, toNullable(toNullable(toLowCardinality(14))), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 418 out of 1000 SELECT id, toNullable(toNullable(toLowCardinality(14))), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC Got boring AST Fuzzing step 419 out of 1000 SELECT id, toNullable(toLowCardinality(14)), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) ASC Query succeeded, using this AST as a start Fuzzing step 420 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 421 out of 1000 SELECT id, toLowCardinality(14), any(toLowCardinality(materialize(materialize(toNullable('Test unsigned integer values')), 28)), value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS FIRST Error on processing query 'SELECT id, toLowCardinality(14), any(toLowCardinality(materialize(materialize(toNullable('Test unsigned integer values')), 28)), value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function materialize doesn't match: passed 2, should be 1: In scope SELECT id, toLowCardinality(14), any(toLowCardinality(materialize(materialize(toNullable('Test unsigned integer values')), 28)), value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 12. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110529e4 15. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 16. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 18. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 19. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 20. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 21. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 24. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 25. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 27. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 29. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 30. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e Fuzzing step 422 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values PREWHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Error on processing query 'SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values PREWHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC': Received from localhost:9000. DB::Exception: Storage TinyLog (table default.test_table_signed_values (2380cd94-e458-4c96-b735-64d1c5982a15)) does not support PREWHERE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000701256b 4. /build/src/Planner/CollectTableExpressionData.cpp:0: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x00000000110a3e55 5. /build/src/Planner/Planner.cpp:0: DB::Planner::buildPlanForQueryNode() @ 0x0000000011652dd5 6. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 7. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 8. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 9. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 12. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 14. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 15. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 16. ? @ 0x00007ffa70350ac3 17. ? @ 0x00007ffa703e2850 Fuzzing step 423 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Got boring AST Fuzzing step 424 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 2147483647 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC Error on processing query 'SELECT id, 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 2147483647 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY materialize(toNullable(26)) DESC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 425 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC Query succeeded, using this AST as a start Fuzzing step 426 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC Got boring AST Fuzzing step 427 out of 1000 SELECT id, toLowCardinality(toInt256(toLowCardinality(65535)), 14), toLowCardinality(toInt128(65537)), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC NULLS FIRST Error on processing query 'SELECT id, toLowCardinality(toInt256(toLowCardinality(65535)), 14), toLowCardinality(toInt128(65537)), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 2, should be 1: In scope SELECT id, toLowCardinality(toInt256(toLowCardinality(65535)), 14), toLowCardinality(toInt128(65537)), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:447: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bc5b 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 12. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 428 out of 1000 SELECT test_table_signed_values__fuzz_35, id, toLowCardinality(14), any(value1), 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC Error on processing query 'SELECT test_table_signed_values__fuzz_35, id, toLowCardinality(14), any(value1), 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_signed_values__fuzz_35' in scope SELECT test_table_signed_values__fuzz_35, id, toLowCardinality(14), any(value1), 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 429 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC, materialize(toNullable(26)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 430 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST, materialize(toNullable(26)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 431 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST, materialize(toNullable(26)) DESC NULLS FIRST Got boring AST Fuzzing step 432 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST, materialize(toNullable(26)) DESC NULLS FIRST Got boring AST Fuzzing step 433 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST, materialize(toNullable(26)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 434 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST, materialize(toNullable(26)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 435 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 436 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) DESC NULLS FIRST Got boring AST Fuzzing step 437 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) DESC NULLS FIRST Got boring AST Fuzzing step 438 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 439 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 440 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Got boring AST Fuzzing step 441 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 9223372036854775806 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) ASC NULLS LAST, materialize(toNullable(26)) DESC NULLS LAST Error on processing query 'SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 9223372036854775806 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) ASC NULLS LAST, materialize(toNullable(26)) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt64 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 442 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Got boring AST Fuzzing step 443 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, materialize(toLowCardinality(65535)) FROM test_table_signed_values PREWHERE test_table_unsigned_values__fuzz_5 WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS LAST Error on processing query 'SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, materialize(toLowCardinality(65535)) FROM test_table_signed_values PREWHERE test_table_unsigned_values__fuzz_5 WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_5' in scope SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, materialize(toLowCardinality(65535)) FROM test_table_signed_values PREWHERE test_table_unsigned_values__fuzz_5 WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 444 out of 1000 EXPLAIN PIPELINE SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 445 out of 1000 EXPLAIN ESTIMATE SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 446 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 37 ('id'): id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 447 out of 1000 EXPLAIN ESTIMATE SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Got boring AST Fuzzing step 448 out of 1000 EXPLAIN ESTIMATE SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Got boring AST Fuzzing step 449 out of 1000 EXPLAIN ESTIMATE SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Got boring AST Fuzzing step 450 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS LAST, materialize(toNullable(26)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 451 out of 1000 SELECT id, toLowCardinality(14), any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS LAST, materialize(toNullable(26)) ASC NULLS FIRST Got boring AST Fuzzing step 452 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS LAST, materialize(toNullable(26)) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 453 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE -2147483648 GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toInt128(1048576)) ASC, toUInt256(6) ASC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST Error on processing query 'SELECT id, 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE -2147483648 GROUP BY GROUPING SETS ((id)) ORDER BY materialize(toInt128(1048576)) ASC, toUInt256(6) ASC NULLS FIRST, materialize(toNullable(26)) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Int32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 454 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS LAST, materialize(toNullable(26)) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 455 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 456 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 457 out of 1000 SELECT id, 14, any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC NULLS LAST Got boring AST Fuzzing step 458 out of 1000 SELECT 14, any(value1) IGNORE NULLS, toNullable(65535) FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 459 out of 1000 SELECT 14, any(value1), 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 460 out of 1000 SELECT 14, any(value1), 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 461 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 462 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH CUBE ORDER BY toUInt256(6) DESC NULLS LAST Error on processing query 'SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH CUBE ORDER BY toUInt256(6) DESC NULLS LAST': Received from localhost:9000. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000701402b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103aa2b 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 6. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 7. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 8. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 10. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 11. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 13. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 16. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 18. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 19. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 20. ? @ 0x00007ffa70350ac3 21. ? @ 0x00007ffa703e2850 Fuzzing step 463 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 464 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 1048577 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(toInt128(2147483646))) ASC, toUInt256(6) DESC Error on processing query 'SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 1048577 GROUP BY GROUPING SETS ((id)) ORDER BY toNullable(toLowCardinality(toInt128(2147483646))) ASC, toUInt256(6) DESC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 465 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 466 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 467 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 468 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 469 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 470 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 471 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) ORDER BY toUInt256(6) ASC Got boring AST Fuzzing step 472 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 473 out of 1000 SELECT 14, test_table_unsigned_values__fuzz_4, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Error on processing query 'SELECT 14, test_table_unsigned_values__fuzz_4, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_unsigned_values__fuzz_4' in scope SELECT 14, test_table_unsigned_values__fuzz_4, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 7. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 474 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 475 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 476 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE -1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Error on processing query 'SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE -1 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 477 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 GROUP BY GROUPING SETS ((id)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 478 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 479 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 480 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 1048576 WITH TOTALS ORDER BY toUInt256(6) ASC Error on processing query 'SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 1048576 WITH TOTALS ORDER BY toUInt256(6) ASC': Received from localhost:9000. DB::Exception: Illegal type UInt32 of column for constant filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007010dab 4. /build/src/Columns/FilterDescription.cpp:0: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x0000000012197aa8 5. /build/src/Planner/PlannerExpressionAnalysis.cpp:54: DB::(anonymous namespace)::analyzeFilter(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001169974f 6. /build/src/Planner/PlannerExpressionAnalysis.cpp:0: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x0000000011691dc9 7. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:515: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655393 8. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 9. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 10. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 11. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 14. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 16. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 17. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 18. ? @ 0x00007ffa70350ac3 19. ? @ 0x00007ffa703e2850 Fuzzing step 481 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 482 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE 44 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 483 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 484 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Got boring AST Fuzzing step 485 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Got boring AST Fuzzing step 486 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY t ASC, toUInt256(6) ASC Error on processing query 'SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY t ASC, toUInt256(6) ASC': Received from localhost:9000. DB::Exception: Unknown expression identifier 't' in scope SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY t ASC, toUInt256(6) ASC. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveSortNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x0000000011061ff6 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x0000000011038e26 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 487 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 488 out of 1000 EXPLAIN PIPELINE compact = true SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values PREWHERE toDecimal64(1., 10) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE compact = true SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values PREWHERE toDecimal64(1., 10) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "compact" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 489 out of 1000 SELECT 14, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 490 out of 1000 SELECT 14, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 491 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 492 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 493 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Got boring AST Fuzzing step 494 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 495 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 496 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 497 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 498 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 499 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 500 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 501 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 502 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 503 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 504 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 505 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 506 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 507 out of 1000 EXPLAIN QUERY TREE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 508 out of 1000 EXPLAIN QUERY TREE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 509 out of 1000 EXPLAIN QUERY TREE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 510 out of 1000 EXPLAIN QUERY TREE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 511 out of 1000 EXPLAIN QUERY TREE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 512 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 513 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 514 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 515 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 516 out of 1000 EXPLAIN ESTIMATE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 517 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 518 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 519 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 520 out of 1000 EXPLAIN ESTIMATE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 521 out of 1000 EXPLAIN ESTIMATE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 522 out of 1000 EXPLAIN ESTIMATE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 523 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 524 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 525 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 526 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('14'): 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 527 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 528 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 529 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 530 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 531 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 532 out of 1000 EXPLAIN PIPELINE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 533 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 534 out of 1000 EXPLAIN CURRENT TRANSACTION SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Error on processing query 'EXPLAIN CURRENT TRANSACTION SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 46 ('14'): 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC. Expected one of: token sequence, Dot, token, Equals, end of query. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 535 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 536 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 537 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 538 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 539 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 540 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 541 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 542 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 543 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 544 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 545 out of 1000 EXPLAIN SYNTAX SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 546 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('14'): 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 547 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 548 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 549 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 550 out of 1000 EXPLAIN SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 551 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 552 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 553 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 554 out of 1000 EXPLAIN AST SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 555 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 556 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 557 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Got boring AST Fuzzing step 558 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 559 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 560 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 561 out of 1000 SELECT 14, any(value1) IGNORE NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 562 out of 1000 SELECT 14, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 563 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 564 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 565 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 566 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 567 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 568 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 569 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 570 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 571 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Got boring AST Fuzzing step 572 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 573 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 574 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 575 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 576 out of 1000 EXPLAIN TABLE OVERRIDE SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Error on processing query 'EXPLAIN TABLE OVERRIDE SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Syntax error: failed at position 41 ('14'): 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST. Expected one of: token sequence, Dot, token, Equals, OpeningRoundBracket. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::createDeprecated(String const&, int, bool) @ 0x0000000007034a8d 3. /build/src/Parsers/parseQuery.cpp:407: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x00000000135d694c 4. /build/src/Parsers/parseQuery.cpp:420: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x00000000135d69de 5. /build/contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011914d10 6. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 9. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 11. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 12. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 13. ? @ 0x00007ffa70350ac3 14. ? @ 0x00007ffa703e2850 Fuzzing step 577 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY materialize(16), toNullable(materialize(toNullable(65537))), test_table_signed_values__fuzz_14 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Error on processing query 'SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY materialize(16), toNullable(materialize(toNullable(65537))), test_table_signed_values__fuzz_14 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Unknown expression identifier 'test_table_signed_values__fuzz_14' in scope SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY materialize(16), toNullable(materialize(toNullable(65537))), test_table_signed_values__fuzz_14 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 6. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 9. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 10. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 13. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 14. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 16. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 19. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 21. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 22. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 23. ? @ 0x00007ffa70350ac3 24. ? @ 0x00007ffa703e2850 Fuzzing step 578 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 579 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 580 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 581 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 582 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 583 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(materialize(toInt128(65537))) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 584 out of 1000 EXPLAIN PIPELINE header = true SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(materialize(toInt128(65537))) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(materialize(toInt128(65537))) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 585 out of 1000 EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), materialize(toInt128(65537)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Error on processing query 'EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), materialize(toInt128(65537)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "run_passes" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582661 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 586 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(toInt128(65537)) WITH TOTALS ORDER BY toUInt256(6) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 587 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 588 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 589 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY 10, toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Error on processing query 'SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY 10, toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Positional argument number 10 is out of bounds. Expected in range [1, 4]. In scope SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY 10, toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, unsigned long&&, String&&) @ 0x0000000010e8936b 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::replaceNodesWithPositionalArguments(std::shared_ptr&, std::vector, std::allocator>> const&, DB::IdentifierResolveScope&) @ 0x0000000011049eda 5. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x000000001106397f 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 7. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 8. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 9. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 12. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 13. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 15. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 18. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 20. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 21. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 22. ? @ 0x00007ffa70350ac3 23. ? @ 0x00007ffa703e2850 Fuzzing step 590 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 591 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, materialize(65535) FROM test_table_signed_values GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 592 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, materialize(65535) FROM test_table_signed_values PREWHERE toInt128(any(value4) IGNORE NULLS, toInt256(65535)) GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Error on processing query 'SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, materialize(65535) FROM test_table_signed_values PREWHERE toInt128(any(value4) IGNORE NULLS, toInt256(65535)) GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST': Received from localhost:9000. DB::Exception: An incorrect number of arguments was specified for function 'toInt128'. Expected 1 argument, got 2 arguments: In scope SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, materialize(65535) FROM test_table_signed_values PREWHERE toInt128(any(value4) IGNORE NULLS, toInt256(65535)) GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000000703376b 4. /build/src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArguments(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000007032142 5. /build/src/Functions/FunctionsConversion.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::(anonymous namespace)::NameToInt128, DB::(anonymous namespace)::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000071bf098 6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000071b92db 7. /build/src/Functions/IFunction.cpp:491: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6c0db 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 9. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 11. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 12. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103880d 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 593 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 594 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(10), toNullable(65537) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 595 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(65537) WITH CUBE WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 596 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(65537) WITH CUBE WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 597 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(toNullable(toInt128(65537)), 65537) WITH CUBE WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Error on processing query 'SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(toNullable(toInt128(65537)), 65537) WITH CUBE WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Number of arguments for function toNullable doesn't match: passed 2, should be 1: In scope SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(toNullable(toInt128(65537)), 65537) WITH CUBE WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000007b6d76b 4. /build/src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000007b6ba2d 5. /build/contrib/llvm-project/libcxx/include/vector:553: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000007b6bdd5 6. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000007b6bca0 7. /build/src/Functions/IFunction.cpp:452: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000007b6c1b4 8. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x000000001105652b 9. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 10. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 11. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveGroupByNode(DB::QueryNode&, DB::IdentifierResolveScope&) @ 0x00000000110639b2 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:5480: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x00000000110389ed 13. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 14. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 15. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 18. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 19. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 21. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 24. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 26. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 27. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 28. ? @ 0x00007ffa70350ac3 29. ? @ 0x00007ffa703e2850 Fuzzing step 598 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(65537) WITH CUBE WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 599 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values GROUP BY toLowCardinality(toLowCardinality(10)), toNullable(65537) WITH CUBE WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 600 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 601 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS FIRST Got boring AST Fuzzing step 602 out of 1000 SELECT toUInt256(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS FIRST Got boring AST Fuzzing step 603 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 604 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 605 out of 1000 SELECT toNullable(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE t__fuzz_9 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Error on processing query 'SELECT toNullable(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE t__fuzz_9 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Unknown expression identifier 't__fuzz_9' in scope SELECT toNullable(14), 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WHERE t__fuzz_9 WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001106c599 4. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x0000000011040cd1 5. /build/contrib/llvm-project/libcxx/include/vector:438: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103893a 6. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 7. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 8. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 11. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 12. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 14. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 17. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 19. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 20. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 21. ? @ 0x00007ffa70350ac3 22. ? @ 0x00007ffa703e2850 Fuzzing step 606 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 607 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 608 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 609 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 610 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 611 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 612 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 613 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 614 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 615 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Got boring AST Fuzzing step 616 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Query succeeded, using this AST as a start Fuzzing step 617 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC Got boring AST Fuzzing step 618 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 619 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Got boring AST Fuzzing step 620 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Got boring AST Fuzzing step 621 out of 1000 SELECT 14, 3, any(28, value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Error on processing query 'SELECT 14, 3, any(28, value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Aggregate function any requires single argument. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000702200b 4. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:0: DB::(anonymous namespace)::createAggregateFunctionAnyRespectNulls(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000f76c8ce 5. /build/contrib/llvm-project/libcxx/include/__functional/function.h:0: ? @ 0x00000000104bf69c 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:124: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000104be554 7. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:616: DB::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110557a1 8. /build/contrib/llvm-project/libcxx/include/vector:553: DB::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool, bool) @ 0x000000001103f13c 9. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:3910: DB::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&, bool, bool) @ 0x000000001103e280 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::IdentifierResolveScope&) @ 0x00000000110646e9 11. /build/contrib/llvm-project/libcxx/include/vector:961: DB::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::IdentifierResolveScope&) @ 0x000000001103871e 12. /build/src/Analyzer/Resolve/QueryAnalyzer.cpp:0: DB::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000011037a79 13. /build/src/Analyzer/Resolve/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001103734e 14. /build/contrib/llvm-project/libcxx/include/vector:547: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001158b5ea 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001164ebd6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001164d0c9 17. /build/contrib/llvm-project/libcxx/include/vector:438: std::__unique_if::__unique_single std::make_unique[abi:v15007]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001164f9c4 18. /build/src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000115f9804 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x00000000119183c9 20. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 23. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 25. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 26. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 27. ? @ 0x00007ffa70350ac3 28. ? @ 0x00007ffa703e2850 Fuzzing step 622 out of 1000 EXPLAIN PIPELINE header = true SELECT 14, 3, any(value1) RESPECT NULLS, 255, materialize(65535) FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Error on processing query 'EXPLAIN PIPELINE header = true SELECT 14, 3, any(value1) RESPECT NULLS, 255, materialize(65535) FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 623 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Got boring AST Fuzzing step 624 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) DESC NULLS LAST Got boring AST Fuzzing step 625 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 626 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 627 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 628 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 629 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 630 out of 1000 SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 631 out of 1000 EXPLAIN PIPELINE header = true, compact = true SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Error on processing query 'EXPLAIN PIPELINE header = true, compact = true SELECT 14, 3, any(value1) RESPECT NULLS, 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST': Received from localhost:9000. DB::Exception: Invalid type Bool for setting "header" only integer settings are supported. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, String const&) @ 0x000000001060596b 4. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x0000000011582995 5. /build/src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x000000001157f267 6. /build/src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011918b56 7. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 10. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 12. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 13. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 14. ? @ 0x00007ffa70350ac3 15. ? @ 0x00007ffa703e2850 Fuzzing step 632 out of 1000 SELECT 14, 3, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 633 out of 1000 SELECT 14, 3, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 634 out of 1000 SELECT 14, 3, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 635 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 636 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 637 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 638 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Got boring AST Fuzzing step 639 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Query succeeded, using this AST as a start Fuzzing step 640 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 641 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 642 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS FIRST Got boring AST Fuzzing step 643 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 644 out of 1000 SELECT 14, 3, toLowCardinality(1), any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Got boring AST Fuzzing step 645 out of 1000 SELECT 14, 3, 1, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 646 out of 1000 SELECT 14, 3, 1, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 647 out of 1000 SELECT 14, 3, 1, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 648 out of 1000 SELECT 14, 3, 1, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC Query succeeded, using this AST as a start Fuzzing step 649 out of 1000 SELECT 14, 3, 1, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 650 out of 1000 SELECT 14, 3, 1, any(value1), 65535 FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Got boring AST Fuzzing step 651 out of 1000 SELECT 14, 3, 1, any(value1), 65535 FROM test_table_signed_values WHERE materialize(toUInt128(62)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Error on processing query 'SELECT 14, 3, 1, any(value1), 65535 FROM test_table_signed_values WHERE materialize(toUInt128(62)) WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST': Received from localhost:9000. DB::Exception: Illegal type UInt128 of column materialize(_CAST('62'_UInt128, 'UInt128'_String)) for filter. Must be UInt8 or Nullable(UInt8).. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000016492bf2 1. /build/src/Common/Exception.cpp:111: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c652179 2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000701116c 3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000789374b 4. /build/src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block const&, DB::ActionsDAG const*, String const&, bool) @ 0x0000000012fbedb7 5. /build/src/Processors/QueryPlan/FilterStep.cpp:19: DB::FilterStep::FilterStep(DB::DataStream const&, DB::ActionsDAG, String, bool) @ 0x000000001315f943 6. /build/contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15007](DB::DataStream const&, DB::ActionsDAG&&, String&, bool&) @ 0x000000001162d1d8 7. /build/src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult&, String const&, std::unordered_set, std::hash>, std::equal_to>, std::allocator>>&) @ 0x000000001165b8c9 8. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x0000000011655575 9. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x00000000116513de 10. /build/src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001164f5cd 11. /build/src/Interpreters/executeQuery.cpp:1182: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001191856d 12. /build/src/Interpreters/executeQuery.cpp:1397: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000119141dd 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:612: DB::TCPHandler::runImpl() @ 0x0000000012cc32bb 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::TCPHandler::run() @ 0x0000000012cd9bf9 15. /build/base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x00000000165381c7 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001653869e 17. /build/base/poco/Foundation/src/ThreadPool.cpp:219: Poco::PooledThread::run() @ 0x00000000164e4eb2 18. /build/base/poco/Foundation/include/Poco/AutoPtr.h:77: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000164e2bc3 19. ? @ 0x00007ffa70350ac3 20. ? @ 0x00007ffa703e2850 Fuzzing step 652 out of 1000 SELECT 14, 3, 1, any(value1) RESPECT NULLS, toInt128(65535) FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC NULLS LAST Query succeeded, using this AST as a start Fuzzing step 653 out of 1000 SELECT 14, 3, 1, any(value1) RESPECT NULLS, toInt128(65535) FROM test_table_signed_values WITH TOTALS ORDER BY toUInt256(6) ASC